in reply to open3 buffering in linux vs. os x

You are Suffering from Buffering. You can, as zentara said, make your filehandles unbuffered. That is a good first step. If it works, then great. However there is a real possibility, and this could well be OS dependent, that ProFit itself is detecting whether it is on a terminal, and buffers output if it is not. In that case you will need to provide it with a terminal. Which Expect can allow you to do.

Replies are listed 'Best First'.
Re^2: open3 buffering in linux vs. os x
by Lexicon (Chaplain) on Jan 08, 2009 at 22:36 UTC
    Yeah, zentara's trick didn't work, so I suspect ProFit is being clever. I'm going to just let the script run for this round but I'll look into Expect when I have more time. Thanks!