in reply to Re: (WIN) Autoflush, Perl, Sleep and Powershell
in thread (WIN) Autoflush, Perl, Sleep and Powershell
yes sorry, I couldn't reproduce that part anymore.
But $|=1 aka autoflush should guaranty that it's written immediately, please try CTRL-c while sleeping and see if there is any output.
My interest is in reading the output of long running scripts in realtime.
FWIW I tried both quotes " and ' for the -E part.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: (WIN) Autoflush, Perl, Sleep and Powershell
by karlgoethebier (Abbot) on May 17, 2021 at 16:48 UTC | |
by LanX (Saint) on May 17, 2021 at 17:27 UTC |