in reply to Re: OS command execution
in thread OS command execution

You might also wan't to set unbuffered output to get data when it's sent, and not when the buffer is full. Try setting $| = 1.