Output of expect commands in to Strings Solved

2014-04-03 Thread Martin G. McCormick
After further study, I probably would have had to setup a named pipe to capture expect's output in to strings which would have not bought me anything useful for this situation. We needed to know what was going on with expect as it happened, not after the fact. More study shows that there is

Output of expect commands in to Strings

2014-04-02 Thread Martin G. McCormick
When using the expect module in a perl program, one can log expect output to a file with a command like $exp->log_file($somefilename); You can turn off STDOUT with $exp->log_stdout(0); Is there a way to capture either the file output or expect's STDOUT directly i