[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 21:18:01 CET 2013
Comment #3 on issue 400 by john.aaron.rose at ...626...: Exec of gksudo
doesn't work if filname parameter contains a space
http://code.google.com/p/gambas/issues/detail?id=400
I've looked into this further. The problem is not with having space(s) in
the directory or filenames. The problem is with using a "--dir" option for
the program being called by gksudo:
Exec ["gksudo", "desktop-file-install", "--dir" & sInstallDirectory, sPath]
to sOutput
where, for example, sInstallDirectory="/usr/share/applications" &
sPath="/home/john/Temporary"
I missed out the "--dir" & sInstallDirectory parameter earlier in the
interests of simplification, not realising that this is the cause.
More information about the User
mailing list