Frederic Belleudy wrote: > Jochem: > won't it? what does it do? does it go into and endless loop and bring > your machine to a halt > by any chance? .. because by looking at it, as long as $in['bg'] is not > set and not equal to > true it's going to keep spawning sub-shells with cmdlines that call itself. > > Me: > You haven't read my message? yes I did. > It works fine when Im running it from the > shell the question was referring to what happens when running the exec() line via the apache php module, I had thought that that was obvious. > > When I do: > > `/usr/local/bin/php /www/admin.gammacash.com/test/test_fork.php bg=1 > 2>&1 /var/log/test.log &` > you can see bg=1 > > its the passing arguments! > any other suggestions? fix/debug it yourself. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php