Thanks for reply's. I'll be looking into threading, it seems like right way to
go.
btw. Why Python developers don't make a wrapper for input() with callback
function using threads, so people can easily use nonblocking input?
--
http://mail.python.org/mailman/listinfo/python-list
Hello!
I'm building small console like program for embedded system control over serial
port. Naturally I need to be able to recieve commands from user and print
reply's from embedded device.
Since I'm using threads and pipes everything works ok, except that when i call
input() there is no way
It looks like normal terminal to me, could You define normal?
Looks like it appears only when target script prints something, but it
shouldn't cus I'm using pipes on stdout and stderr.
If anyone is interested I'm using function doPopen from here:
http://code.google.com/p/mansos/source/browse/tr
Thanks for answer, but that's not helping.
I'm making a little embedded system programming IDE so I need to run
.exe(windows only), make commands, perl & python scripts etc(multiplatform).
I'm using subprocess.Popen for all of them and it works fine except that blank
console window and btw it
Hi, and I'm sorry for using this old thread, but I'm experiencing the same
problem, except, that I wan't to execute any shell script or exe without blank
terminal window.
Is there any way in python to supress blank console screen while script is
executing? Multiplatform solution would be nice.