Thanks, Les -- I had this same problem, and you solved it for me. For other readers, here is the command adapted for Gambas3:
Shell "sudo -S chmod 0777 ~/myfilename << EOF\nmypassword\nEOF" Note: "chmod 0777" is just an example of a chmod code The newline code "\n" should NOT have spaces before it or after it. If you have excess spaces, this will be interpreted as part of the shell command, and you'll get an error. -- View this message in context: http://gambas.8142.n7.nabble.com/Shell-sudo-tp17654p40876.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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 Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user