in reply to Re^2: system >> 8 is non-zero when child exits with exit(0)
in thread system >> 8 is non-zero when child exits with exit(0)
That's somewhat strange.
the very last thing to happen in these failing processes is basically:
Are you sure about that? I would guess that you're seeing your "Process completed successfully" message in your logs, but can logprint() fail in any other way? Have you tried capturing the process's STDOUT and STDERR to inspect that for any messages?
Another thought: What does your system call look like? Is it a single string, as in system("/path/to/script.pl")? Are you using any shell features in the system call, e.g. system("/path/to/script.pl | grep ...")? Because in that case something could theoretically be going wrong with the shell (The problem of "the" default shell).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: system >> 8 is non-zero when child exits with exit(0)
by bjdean (Novice) on Mar 10, 2021 at 03:42 UTC | |
by haukex (Archbishop) on Mar 11, 2021 at 19:26 UTC | |
by bjdean (Novice) on Mar 17, 2021 at 01:01 UTC | |
by jcb (Parson) on Mar 11, 2021 at 02:38 UTC | |
by bjdean (Novice) on Mar 17, 2021 at 00:42 UTC |