Are you using this segment of code in same script which is running twice?
If same script is running two or mor times and you use this code in another script and run it, it will show you the message that the script is already running.
When you are passing argument start, in that segment of code, make sure it should not same script another time.
If you kill one of the script, are both script killed? You can try this after clicking child process.
|