in reply to Killing the child process is not working
$child_pid = $$;
$$ is not the child process identifier. You have the parent process trying to kill itself.
But, more fundamentally, fork does not work properly on Windows; and you are wasting your time writing new code that tries to use it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Killing the child process is not working
by srlbharu (Acolyte) on Mar 20, 2013 at 08:02 UTC | |
by BrowserUk (Patriarch) on Mar 20, 2013 at 08:12 UTC | |
by srlbharu (Acolyte) on Mar 20, 2013 at 09:06 UTC | |
by BrowserUk (Patriarch) on Mar 20, 2013 at 10:16 UTC |