exec() function question on Solaris
| From: | Matt Babineau | Date: | Tue, 16 Jul 2002 14:54:43 +0000 |
| Subject: | exec() function question on Solaris | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107887@lists.php.net to get a copy of this message | ||
I have an interesting question. I am working on a system that I need to
run two commands in the shell, but when I use passthru() on the first
command then run the second command to get the results from the first
command, it doesn't work. Is there any way I can run 2 shell commands in
the same execution space so that I can get the results from the first
becaus eI think it is running them separately so when I try to pull the
results, it has no results to pull. Does this make sense? any
suggestions?
Thanks,
Matt Babineau
MCWD / CCFD
-----------------------------------------
e: <mailto:matt@criticalcode.com>
matt@criticalcode.com
p: 603.943.4237
w: <http://www.criticalcode.com/> http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105