Justin, I always though you could not pipe passwords into sudo. One way to do this kind of stuff is to use the "expect" tool.
http://expect.sourceforge.net/ With expect you can automate many command line things. HTH Andre On Fri, Jun 11, 2010 at 7:35 AM, Justin Sloan <sloan.jus...@gmail.com>wrote: > Hello All, > > 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? > > Thanks, > > Justin_______________________________________________ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution