On Tue, 30 Sep 2008 20:48:12 -0700, Anh Khuong wrote:
> I am using pexpect and I want to send output of pexpet to both stdout
> and log file concurrently. Anybody know a solution for it please let me
> know.
One way is to create a file-like object that forked the output to stdout
and the logfil
On Sep 30, 8:48 pm, Anh Khuong <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am using pexpect and I want to send output of pexpet to both stdout and log
> file concurrently.
> Anybody know a solution for it please let me know.
spawn class takes a 'logfile' parameter:
__init__(self, command, args=[],
Hi all,
I am using pexpect and I want to send output of pexpet to both stdout and log
file concurrently.
Anybody know a solution for it please let me know.
Thanks
--
http://mail.python.org/mailman/listinfo/python-list