If the server down script has some noisy output and spawns other noisy processes, your print statement output might be buried in the middle of the command output.. Try putting a long sleep after the system statement, and add "\n" on your print statements, and see if you can see your output.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: After system call, scripts is getting terminated
by roboticus
in thread After system call, scripts is getting terminated
by nithins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |