I have a php file 'run.php' which I'm running from the terminal. Within this file I have the following lines:
exec("open-crawlers $port 2>&1",$out,$code); echo 'hello';
The problem that I'm having is that the terminal hangs after executing the 'exec' command; the program doesn't reach the second line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With