stdin redirection problem
Ralph Schnackenberg
Ralph.Schnackenberg at web.de
Tue May 30 17:01:34 EDT 2000
Hi Pythoneers,
I'm struggling with the following:
( You might probably identify me as a newbie :-) )
I want to write a server application using the "cmd" module
for parsing the incoming data stream from a socket.
But I'm wondering how to redirect the socket stream to the stdin of
the Cmd's subclass.
I tried already some helpless things inside the constructor method
of the subclass of "Cmd", but as you might guess without any
success. :-(
Any help ?
Cheers,
Ralph
More information about the Python-list
mailing list