php3-list | 199901
Date: 01/31/99
- Next message: Boon: "[PHP3] how to generate a complete functions..."
- Previous message: Rasmus Lerdorf: "Re: [PHP3] Debugging messages"
- Maybe in reply to: Karl Pielorz: "[PHP3] Shell in background?"
- Next in thread: Karl Pielorz: "Re: [PHP3] Shell in background?"
- Reply: Karl Pielorz: "Re: [PHP3] Shell in background?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 1999-01-30 Karl Pielorz wrote:
> Is there any way of pursuading the 'exec' / 'system' functions to shell off
> a command and run it in background?
>At the moment if I do:
>exec( "/usr/local/bin/reconf system.dat" );
>The calling script sits there and waits for 'reconf' to finish (which take
>around 3 minutes :-(
I've found that something like the following usually works great:
exec( "/usr/local/bin/reconf system.dat > /dev/null &" );
-Jeremiah Bellomy
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Boon: "[PHP3] how to generate a complete functions..."
- Previous message: Rasmus Lerdorf: "Re: [PHP3] Debugging messages"
- Maybe in reply to: Karl Pielorz: "[PHP3] Shell in background?"
- Next in thread: Karl Pielorz: "Re: [PHP3] Shell in background?"
- Reply: Karl Pielorz: "Re: [PHP3] Shell in background?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

