RE: [PHP-WIN] exec(), passthru()
| From: | Matt Babineau | Date: | Tue, 16 Jul 2002 16:11:41 +0000 |
| Subject: | RE: [PHP-WIN] exec(), passthru() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14794@lists.php.net to get a copy of this message | ||
What does that operator do?
Matt Babineau
MCWD / CCFD
-----------------------------------------
e: matt@criticalcode.com
p: 603.943.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
-----Original Message-----
From: Mikey [mailto:mikey@splatted.net]
Sent: Tuesday, July 16, 2002 11:41 AM
To: Matt Babineau; php-windows@lists.php.net
Subject: RE: [PHP-WIN] exec(), passthru()
How about:
passthru ("command1 > command2");
or
passthru ("command1 | command2");
HTH
Mikey
> -----Original Message-----
> From: Matt Babineau [mailto:matt@criticalcode.com]
> Sent: 16 July 2002 16:26
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] exec(), passthru()
>
>
> I am trying to run one command, then run a second command to pull the
> results from the first command. is there a way to do this? Its seems
> when I run the first command like
>
> passthru(command1)
>
> then run the second command to get the results from the first
>
> passthru(command2)
>
> the results of command2 are not what command1 processed, so they are
> not interacting how I need them to. Does anyone know of a solution to
> this?
>
> 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
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php