pexpect problem, spawn says I/O on closed file

E

edwin

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? ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top