in reply to Re^2: Print inside SIGNALS
in thread Print inside SIGNALS

I can replicate that the first snippet doesn't seem to output anything.

Since you killed the process instead of letting it exit cleanly (e.g. using die or exit), it didn't get to flush its buffers.

Replies are listed 'Best First'.
Re^4: Print inside SIGNALS
by haukex (Archbishop) on Jul 17, 2018 at 11:51 UTC
    I can replicate that the first snippet doesn't seem to output anything.
    Since you killed the process instead of letting it exit cleanly (e.g. using die or exit), it didn't get to flush its buffers.

    Yes, hence my wording, which I've highlighted above. Or am I missing your point?

      I was providing an explanation of why it didn't seem to output anything.