I want (in Gambas3) to delete a file in e.g. /usr/share/applications. sInstallPath may have spaces in its filename: that's why I used a single quote round it.
I've tried Exec ["gksudo", "rm", "'" & sInstallPath & "'"] which doesn't give an error but doesn't delete the file. I've tried Exec ["gksudo rm", "'" & sInstallPath & "'"] which gives an error saying that the child program/process is not found and doesn't delete the file. How do I code this (without using Shell) so that there are no errors and the file is deleted? -- Regards, John ------------------------------------------------------------------------------ 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
