Comment #3 on issue 400 by [email protected]: 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.




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to