Hello all,
I have a small sh script that executes another application in an infinite loop until i break from it. However, when the script is exited, all processes created by it are also killed. How can I keep those processes running when exiting the sh script?
I have a small sh script that executes another application in an infinite loop until i break from it. However, when the script is exited, all processes created by it are also killed. How can I keep those processes running when exiting the sh script?
Code:
#!/bin/sh
while true; sleep 1.25; do /home/tiko/a.out $1; done