On Fri, Nov 18, 2011 at 12:26 PM, Andre Garzia wrote: > As far as I know, you can't ask for the user password and pass it to a > shell call with clever use of pipes. That is not how sudo works, you can't: > > cat password.txt | sudo cd .. or sudo cd .. < password.txt > > How about this method?
shell("pw=" & tPassword & "; echo $pw | sudo -S command") SOURCE: http://www.mail-archive.com/use-revolution@lists.runrev.com/msg137100.html ~Roger _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode