in reply to Stopped child hangs parent
It is possible for the executable to stop itself or so it seems.
I take it your are talking about the command run by system(). What do you know about the state of the process when it is stopped, what causes it to stop and what its natural course is if you don't signal it? Can you say what the command is?
The problem is when the subprocess stops like this the parent also stops.
If you mean that the child process of your main perl process waits until the system call returns, this is the way system works. If you mean the parent perl process stops, what do you know about the process when it is stopped? Is it some particular function that does not complete?
I tried to capture the stop in both the parent and child but no luck.
Do you mean that the signal was received by your process but your signal handler was not called? Or was no stop signal received?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Stopped child hangs parent
by jafoba (Novice) on Aug 10, 2009 at 14:38 UTC | |
by ig (Vicar) on Aug 10, 2009 at 20:49 UTC | |
by jafoba (Novice) on Aug 11, 2009 at 14:21 UTC | |
by almut (Canon) on Aug 11, 2009 at 23:00 UTC | |
by jafoba (Novice) on Aug 12, 2009 at 19:46 UTC | |
by ig (Vicar) on Aug 11, 2009 at 18:38 UTC |