If $myoutput is "foo", it will attempt to get input from a file named "foo". Use "command | $myoutput" instead.

Tim T wrote:

I have a mem var $myoutput I would like to pipe it to the input of a
shell_exec command.

I tried  shell_exec("command < $myoutput") however this is not quite right.
Anybody have any ideas??






-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to