Bash: Call shell script but do not wait for return code

bashjob-control

Is it possible in Bash to call a shell script from another shell script but not have the original script wait for the sub-script to complete?

Best Answer

Just fork it with a &. As in, sh /path/to/script/script.sh &

This will print messages from the subscript, but you can replace the & with >/dev/null & and suppress the output.