RE: [PHP] How to fire off a unix command WITHOUT waiting for it to return (I want to use )

2003-10-14 Thread Daevid Vincent
Okay, I thought the hack of doing this (scan.sh) might work, but running some timing tests, it's apparent that it's not... The more IP addresses I schedule to scan, the longer it takes to return my browser page. #!/bin/sh /bin/scan And while if I run it on the command line in bash, it works

RE: [PHP] How to fire off a unix command WITHOUT waiting for it to return (I want to use )

2003-10-14 Thread Mohamed Lrhazi
I tried this exec() suggestion and that didn't work right either. exec(/bin/scan /dev/null 2/dev/null); try : exec(/bin/scan /dev/null 21 ); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to fire off a unix command WITHOUT waiting for it to return (I want to use )

2003-10-11 Thread Marek Kilimajer
Try exec(/bin/scan /dev/null 2/dev/null); Daevid Vincent wrote: How can I cause PHP to fire off a unix program and NOT wait for a reply. Basically I want to use the love the unix provides, but it seems that exec, passthrough, system and even ` ` all wait for a return despite my putting

[PHP] How to fire off a unix command WITHOUT waiting for it to return (I want to use )

2003-10-10 Thread Daevid Vincent
How can I cause PHP to fire off a unix program and NOT wait for a reply. Basically I want to use the love the unix provides, but it seems that exec, passthrough, system and even ` ` all wait for a return despite my putting something like exec(/bin/scan ); or `/bin/scan ` *sigh* The sitch is