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

Marty mmcg29440 at ...3163...
Sat Jan 28 18:07:16 CET 2017


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



--
View this message in context: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58345.html
Sent from the gambas-user mailing list archive at Nabble.com.




More information about the User mailing list