[Gambas-user] I need a shell script
jbskaggs
jbskaggs at ...1871...
Mon Apr 27 03:33:00 CEST 2009
I am having a sudo (permission) problem in my gamemaker program. It creates
the code and writes it to the MMain.Module and creates the .Project file.
Now I need to be able to shell from my program to a directory and run the
gbc2 and gba2 commands.
I have tried several different shell commands and I have tried a script:
cd mypathtoproject
gbc2
gba2
but I get a permission not granted error. I have tired calling the script
from shell with sudo
Shell "sudo " & "scriptname.sh"
but it asks for password then hangs.
This is really simple but I am somehow bungling it as usual.
So could someone one correct my script and to tell me how to call it?
JB Skaggs
--
View this message in context: http://www.nabble.com/I-need-a-shell-script-tp23248632p23248632.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list