It just won't run in background!!!!

From: Date: Thu, 26 Jul 2001 02:29:29 +0000
Subject: It just won't run in background!!!!
Groups: php.general 
Request: Send a blank email to php-general+get-59666@lists.php.net to get a copy of this message
I'm trying to get the following (broken up only for readability and cademaintainability) to actually run in the background, returning the browser to the user immediately and not waiting for lynx to exit. I'm obviously going it wrong, but how? Any suggestions? $cmd1 = "/usr/bin/lynx -auth=$Client_Username:$Client_Password -dump \"http://someurl.php?User=$Client_365Num&List=$listchoice[$i]&Letter=$letter choice\""; $cmd2 = "mail -s \"Some Email subject line..\" $Client_Email"; $cmd3 = $cmd1." | ".$cmd2; exec("($cmd3) &");

« previous php.general (#59666) next »