in reply to Re^6: Need sleep walking help
in thread Need sleep walking help
Hi Marshall,
Program 1's error messages come out right way while stdout messages come later because the stdout's filehandle's output buffer is not ready to be "flushed", "printed".
Sorry, but that's not quite correct either. If run from the terminal, your Program 1's STDOUT will be line-buffered and will flush its STDOUT on every newline, but the order in which STDOUT and STDERR output is intermixed on the terminal is AFAIK not well-defined. On my machine, the output of both programs looks the same when run from the terminal.
See also my post here.
Regards,
-- Hauke D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Need sleep walking help
by Marshall (Canon) on Feb 02, 2017 at 09:14 UTC | |
by haukex (Archbishop) on Feb 02, 2017 at 09:22 UTC | |
by Marshall (Canon) on Feb 03, 2017 at 21:11 UTC | |
by haukex (Archbishop) on Feb 04, 2017 at 09:31 UTC | |
by choroba (Cardinal) on Feb 04, 2017 at 16:55 UTC | |
|