Re: remote control of a cmd.Cmd() loop (help requested)

2015-05-22 Thread MRAB
On 2015-05-23 01:27, Benjamin Risher wrote: First, the snippet provided is a contrived example of a much larger program. http://pastebin.com/xRqBE5BY (written in python3 with access to 3.4 if necessary) The goal: To connect to a listening socket and send commands to the cmd.Cmd() loop runnin

remote control of a cmd.Cmd() loop (help requested)

2015-05-22 Thread Benjamin Risher
First, the snippet provided is a contrived example of a much larger program. http://pastebin.com/xRqBE5BY (written in python3 with access to 3.4 if necessary) The goal: To connect to a listening socket and send commands to the cmd.Cmd() loop running, then show the output to both stdout and the

remote control of a cmd.Cmd() loop (help requested)

2015-05-22 Thread Benjamin Risher
First, the snippet provided is a contrived example of a much larger program. http://pastebin.com/xRqBE5BY (written in python3 with access to 3.4 if necessary) The goal: To connect to a listening socket and send commands to the cmd.Cmd() loop running, then show the output to both stdout and t