Was writing a php script to run in commandline to process some files. Part of it is to run a 'whois' command from within PHP, but it hang (ip is 74.220.96.0). I don't know why.
Anyway, I searched and found this:
<?
exec("command & sleep 3 ; kill $!");
?>
No comments:
Post a Comment