Hi List

I am wondering, how can i check if child already exist before i spawn
? child.isalive() cannot be done on child before it has been spawned.

---
import pexpect

child=pexpect.spawn('ssh mysurface@192.168.1.105')
child.sendline('test')
---

Thomas
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to