I only do this on Linux, and it will probably not work on all versions of Unix, 
not even to mention Windows, but I basically have used the code of Pexpect and 
removed the part that does the expecting. ;-)
The author of the Pexpect module also has clearly documented potential pitfalls 
in his FAQ. I think you can find it on pexpect.sourceforge.org
See also the documentation of the pty module.
 
 
>>>Dan Stromberg <[EMAIL PROTECTED]> 08/24/05 1:54 am >>> 
 
Is there a way, using python, to (voluntarily) log all activity in a 
given shell, in a way that should work on pretty much all *ix's with a 
port of python? 
 
Thanks! 
 
-- 
http://mail.python.org/mailman/listinfo/python-list 

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

Reply via email to