Expect - Re: capture log stderr in addition to stdout from a subprocess

Posted on Wed Feb 14 12:34:16 2007 by rgiersig in response to 3876 (See the whole thread of 2)
Re: capture log stderr in addition to stdout from a subprocess
strange... the pty is set up to get both stdout and stderr from the spawned command, so the logging should write both to the logfile. you can of course spawn the command with "2>&1" attached, but i don't think thats the error. maybe the spawned application opens /dev/tty? this should also point to the pty but doesn't reliably do so on all systems...
Write a response