Reputation: 3896
Hopefully a quick question. I have a .sh script running a php script - the php takes some time to complete and I want the .sh script to proceed.
Is that possible? And if so, how so?
Upvotes: 0
Views: 226
Reputation: 99921
Have you tried php somescript.php &
? The &
at the end causes the sh script to continue executing.
If you want the php script to outlive the shell script, try this:
nohup php somescript.php >/dev/null 2>&1 &
Upvotes: 3