Hi,
I want to run another script inside shelll script in nohup mode.
let explain.
under the same folder ,I have two scripts
scrone.sh
scrtwo.sh
In scrone.sh
if [ var -eq 1 ]
then
nohup ./scrtwo.sh &
echo " Script two has been run correctly"
else
echo " Exiting from the script"
fi
If I run the aboce script, it stucks in the nohup , normally we used to to run in command mode. I want to run the scrtwo.sh in nohup , then the control should come out from that and should show the echo command "Script two has been run correctly" .
Please help on this.