in reply to Re^4: Perl Daemons and SIGHUP
in thread Perl Daemons and SIGHUP
If you are using warnings you should get a warning for that exec since exec says Since it's a common mistake to use "exec" instead of "system", Perl warns you if there is a following statement which isn't "die", "warn", or "exit"
Why not check exec worked as described in the exec pod.
How many arguments are in @argv (and what do they contain?) as that affects whether the command in passed to your shell or to execve?
You could always run strace (or whatever depending on your platform) to see what is really going on - although remember to follow children.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Perl Daemons and SIGHUP
by explodec14 (Novice) on Feb 24, 2010 at 14:08 UTC | |
by mje (Curate) on Feb 24, 2010 at 16:45 UTC | |
by ikegami (Patriarch) on Feb 24, 2010 at 17:31 UTC | |
by mje (Curate) on Feb 25, 2010 at 10:12 UTC | |
by ikegami (Patriarch) on Feb 24, 2010 at 17:32 UTC |