Re: Popen File I/O

2009-05-27 Thread D'Arcy J.M. Cain
On Wed, 27 May 2009 19:39:21 -0500 Eric Pruitt wrote: > I am creating a file-like interface for Popen. Do I need to return True or > False for "isatty()"? I am thinking True but I am not familiar with the > semantics of what defines a tty. >>> import os >>> x = os.popen("ls") >>> type(x)

Popen File I/O

2009-05-27 Thread Eric Pruitt
Hello, I am creating a file-like interface for Popen. Do I need to return True or False for "isatty()"? I am thinking True but I am not familiar with the semantics of what defines a tty. Thanks, Eric -- http://mail.python.org/mailman/listinfo/python-list