Hello,
My task is:
Analyze stdout of some app, and if needed write to stdin
I write a script with full logic, and it works.
But one of the apps did't flush stdout if stdout is a fifo. Only if stdout is to tty
I want to fake tty somehow.
google said, that i need to use 'Expect'
or run my target app through 'script -c []'
is there are any possibility to do something like
$stdout->isAtty(1);
i do not want to rewrite all code to using an expect, i think is a big kludge to my needs
In reply to IPC::Open3 emulate tty mode on stdout handle by MiklerGM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |