Try, try again

Yennie at aol.com Yennie at aol.com
Mon Jun 16 11:23:00 EDT 2003


Just a poor choice of variable name.

> get shell("echo '"&pwd&"' | sudo"&&cmd)

This won't actually put "pwd" in the shell command, it's a variable.

You'll still get something like:

> echo 'MyPassword' | sudo MyCommand

as the final shell command.


> 'pwd' puts the working directory ie the directory you are currently
> working in for operations like file listing. copying etc...
> 





------------------------------
Brian Yennie
Chief Technology Officer
QLD Learning, LLC
www.QLDLearning.com

PH: (904)-997-0212
EMAIL: Yennie at aol.com
-------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.runrev.com/pipermail/metacard/attachments/20030616/cad7ff98/attachment.htm


More information about the metacard mailing list