[Gambas-user] how-to execute file or bash script packaged inside gambas

Benoît Minisini gambas at ...1...
Sat Jan 28 20:03:51 CET 2017


Le 28/01/2017 à 18:07, Marty a écrit :
> Want to run a script file packaged within the Gambas project. Tried the
> method below.
>
> DIM sTempScript as String
>
> sTempScript = Temp$
>
> COPY "update.sh" TO sTempscript
>
> SHELL sTempScript WAIT
>
> Does not work for me. All of the python files are in the gambas project
> directory and have execute permissions.
>
> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied
>
> What do I change to allow the python programs to run? Is it the project
> directory?
>
> Thanks,
> Marty
>

Did you set execution rights on the shell file?

-- 
Benoît Minisini




More information about the User mailing list