Re: system()
| From: | Sebastian Konstanty Zdrojewski | Date: | Wed, 13 Nov 2002 11:18:34 +0000 |
| Subject: | Re: system() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124196@lists.php.net to get a copy of this message | ||
Ok, I solved... It was so easy, I am trying to find the solution since yesterday. I added the apersand (&) at the end of command line. It works in background.
Thanks anyway! Have a nice day! :)
En3pY
Sebastian Konstanty Zdrojewski wrote:
Hi everybody, I am attempting to run in background a script started from apache. To do this I am using the following command line from my script: exec( "/home..../myscript.sh >> /dev/null" ); So my script should run in background (as written on the documentation). It's not true: my execution under "Apache" hangs up until the script is not complete... anybody has an Idea? TIA, En3pY-- Sebastian Konstanty Zdrojewski IT Analyst Neticon S.r.l. Via Valtellina 16 - 20159 Milano - MI - Italy Phone (+39) 02.68.80.731 E-Mail s.zdrojewski@neticon.it Website http://www.neticon.it