exec() and redirect output of program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found this on PHP.net:

http://us.php.net/manual/en/function.exec.php

Note: If you start a program using this function and want to leave it
running in the background, you have to make sure that the output of that
program is redirected to a file or some other output stream or else PHP will
hang until the execution of the program 
ends.


This is what I want... I want to execute another PHP script from the CLI,
pass it a parameter and let it go to town after the HTTP request closes.

Can someone please illustrate how I can make this work?

Thx,

Brad

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux