in reply to Re: Re: Fool a process into thinking that STDOUT is a terminal
in thread Fool a process into thinking that STDOUT is a terminal

I found the current thread with the same need as the OP, and interestingly, 15+ years later with IO-Tty-1.12 / Perl 5.22.0 / Linux 4.17.19 i also get strange varying result with a simple 'ls -la': sometimes only the total line, sometimes a single line from the ls, sometimes to whole output...

The best programs are the ones written when the programmer is supposed to be working on something else. - Melinda Varian
  • Comment on Re^3: Fool a process into thinking that STDOUT is a terminal