FWIW, 141 is SIGPIPE. (signal 13 + WIFSIGNALED flag (128))
So something's happening in your RUN script that's causing it to write to a
closed pipe. I hope this helps!
-Rob
On Mon, 27 Mar 2017 11:51:03 +0300
Gabor Szabo wrote:
> Putting
>
> CATCH { default { put .^name,
Putting
CATCH { default { put .^name, ': ', .Str } };
in the While loop helped with the restarting, but I am still not sure if this
is the expected behavior or not.
run.pl:
while True {
say "Starting";
shell("perl6 a.pl");
CATCH { default { put .^name, ': ', .Str } };
}
The lack of open filehandles seem to be fixed. The server now stays up
for quite long time, but I've just seen the following on the command
line:
The spawned command './RUN' exited unsuccessfully (exit code: 141)
in block at wrap.pl6 line 5
I'd like to understand what this exit code: 141