in reply to Re^7: Print inside SIGNALS
in thread Print inside SIGNALS
No, "it didn't work" for you because you killed the program before the signal handler was called.
Have you tried the one-liners yourself? (I ran them on Ubuntu Linux, in case that makes a difference.)
Are you saying you are observing different behavior than I am? If so, what is that behavior?
If you're saying it's not a buffering issue, what do you think is causing the different behavior of the first two of my one-liners above?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Print inside SIGNALS
by ikegami (Patriarch) on Jul 18, 2018 at 11:20 UTC | |
by haukex (Archbishop) on Jul 18, 2018 at 14:40 UTC | |
by Veltro (Hermit) on Jul 19, 2018 at 11:05 UTC | |
by haukex (Archbishop) on Jul 19, 2018 at 17:34 UTC | |
by Veltro (Hermit) on Jul 19, 2018 at 20:09 UTC | |
| |
by ikegami (Patriarch) on Jul 20, 2018 at 18:44 UTC | |
by haukex (Archbishop) on Jul 20, 2018 at 19:25 UTC | |
| |
by ikegami (Patriarch) on Jul 20, 2018 at 18:43 UTC | |
by haukex (Archbishop) on Jul 20, 2018 at 18:58 UTC |