I have 5 processes running from one terminal (
T1). All of them are running in background, but generate a lot of output.
Now from other terminal (
T2), I want to kill one of them using
KILL pid command. Then after
60 secs, I want to restart the same process (this will get a different pid obviously).
My script would look like
KILL 1524 sleep 60 myProcess
The problem is that after this, the terminal
T2 also becomes unusable, due to outputs of the process. If I want to do the same thing again, I will have to start another terminal. Is it possible to something that would force the process to start in