Shell Command with Sudo
sloan.justin at gmail.com
Fri Jun 11 06:35:16 EDT 2010
I am trying to run a shell() command in revStudio in order to execute some terminal commands as the superuser on a Mac. An Ubuntu terminal will accept the superuser password using a pipe, such as "pass | sudo -S command", but Mac's terminal will not accept the password on the same line.
Is there a way to run multiple commands from a single rev shell() call? Or, can I somehow followup a shell() call with the password?
More information about the Use-livecode