pexpect problem, spawn says I/O on closed file
- From: edwin <madeddie@xxxxxxxxxx>
- Date: Sat, 16 Apr 2005 00:50:57 +0200
Hi,
I'm using pexpect in a plugin script within bartbot (an python based irc
bot). When I execute the plugin, python comes back with:
ERROR exceptions.ValueError file:
/home/edwin/devel/bartbot/myplugins/rttest.py linenr: 17 msg: I/O \
operation on closed file
rttest.py being the plugin script, line 17 being:
child = spawn("ssh -l %s %s /bin/ls -l"%(user, host))
before i paste the whole script here, does anybody have any "ah, that's
simple, check..."'s? ;)
.
- Prev by Date: Re: MS SQL Server/ODBC package for Python
- Next by Date: trouble using \ to escape %
- Previous by thread: Glade for Windows and Python
- Next by thread: trouble using \ to escape %
- Index(es):
Loading