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.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to