Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: open3 buffering in linux vs. os xby ikegami (Patriarch) |
on Jan 09, 2009 at 06:04 UTC ( [id://735092]=note: print w/replies, xml ) | Need Help?? |
Buffering is done at the application level, not at the system level, so you can't control whether another application (ProFit) buffers its output or not. Even if it's your child. Many applications (including perl), buffer STDOUT when it's not connected to a terminal. So the trick is to convince ProFit that it's connected to a terminal. That's where pseudo ttys come in.
In Section
Seekers of Perl Wisdom
|
|