[Gambas-user] Issue 400 in gambas: Exec of gksudo doesn't work if filname parameter contains a space

gambas at ...2524... gambas at ...2524...
Sun Feb 3 19:24:27 CET 2013


Updates:
	Status: Invalid
	Labels: -Version Version-3.3.0

Comment #2 on issue 400 by benoit.m... at ...626...: Exec of gksudo doesn't  
work if filname parameter contains a space
http://code.google.com/p/gambas/issues/detail?id=400

You wrote that in your code:

Exec ["gksudo desktop-file-install", "--dir=" & sInstallDirectory, sPath]  
To sOutput

It cannot work. The first argument of Exec must be the program to run.

Please read carefully the documentation about SHELL and EXEC on the wiki,  
fix your program or provide a project that runs the code you are talking  
about and not something else, and come back!





More information about the User mailing list