[Gambas-user] I need a shell script

Joshua Higgins joshiggins at ...1601...
Mon Apr 27 09:35:29 CEST 2009


Could you not replace the sudo command with gksu (or kdesu)? That command is
the same as sudo but asks in X for the password, not on the console.

2009/4/27 jbskaggs <jbskaggs at ...1871...>

>
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
joshua higgins
>>>>>>------



More information about the User mailing list