Re: CLI script & exec() - how to control what gets dumped on the screen.
| From: | Jochem Maas | Date: | Tue, 28 Nov 2006 11:50:06 +0000 |
| Subject: | Re: CLI script & exec() - how to control what gets dumped on the screen. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245223@lists.php.net to get a copy of this message | ||
clive wrote:
> Jochem Maas wrote:
>> I have been trying to figure out how to use exec to run some commandline
>> scripts (some perl scripts & mysql in this case) WITH the output of
>> the commands
>> run via exec being shown on the screen.
>
> have you tried shell_exec ?
no - but that's because it doesn't do what I want/need - I want to gather
all the output and the exit code of the called script.
nonetheless thanks for your input :-)
(I fixed the problem with the help of 2 other list members btw)
>
> clive
>