php3-list | 199901
Date: 01/30/99
- Next message: Richard Lynch: "Re: [PHP3] Date question: How to check if today is the last Saturday?"
- Previous message: gmkelly <email protected>: "[PHP3] Persisant Connection problem: MySQL-PHP3-Apache"
- In reply to: Karl Pielorz: "[PHP3] Shell in background?"
- Next in thread: Richard Lynch: "Re: [PHP3] Shell in background?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
> 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
> aroun 3 minutes :-( - I've tried 'tricking it with a simple:
>
How about
exec("perl -e 'exec /usr/local/bin/reconf system.dat'");
That will cause the perl process to launch reconf and perl should exit. No
idea if it would work and if it did I would call it a kludge, but wtf.
-mark
-- |||| mark jeftovic (MJ177) ==== http://www.shmooze.net/~markjr |||| |||| easyDNS Technologies Inc. ==== http://www.easyDNS.com |||| ------------------------------------------------------------------------------ dns hosting / domain registrations / web forwarding / mail forwarding / etc -------------------------------------------------------------------------------- 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: Richard Lynch: "Re: [PHP3] Date question: How to check if today is the last Saturday?"
- Previous message: gmkelly <email protected>: "[PHP3] Persisant Connection problem: MySQL-PHP3-Apache"
- In reply to: Karl Pielorz: "[PHP3] Shell in background?"
- Next in thread: Richard Lynch: "Re: [PHP3] Shell in background?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

