in reply to phantom log from hell?
Instead of opening the log_file to /dev/null, you might instead try calling $expect->log_file(undef); to turn off logging. Then, just before setting log_file to your callback, you might want to call $expect->clear_accum(); to flush any waiting output.
bbfu
Black flowers blossom
Fearless on my breath
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: phantom log from hell?
by jcpunk (Friar) on Jun 17, 2003 at 14:42 UTC |