Hi,
I have Build > Shell/Batch Command
step which creates background process.
(I want the background process alive before I intentionally kill it in another step.)
Below step prints Finished...
but the step is not terminated automatically.
How can I stop this step after the main script finished?
echo "Started...
echo "while true; do date >> a.txt; sleep 1; done" > myscript.sh
chmod +x myscript.sh
./myscript.sh &
echo "Finished..."
- solved #5
- replies 3
- views 962
- stars 0