popen in thread on QNX

Jacek Popławski jpopl at interia.pl
Thu Sep 8 05:04:30 EDT 2005


I am still in the process of creating my script which will run command 
received from socket.
My scripts works perfectly on Linux, but doesn't work on QNX!

File "/usr/lib/python2.4/popen2.py", line 108, in __init__
	self.pid = os.fork()
OSError: [Errno 89] Function not implemented

When I try to use os.popen3 - it works. But when I try to use it in new 
thread - I see that error message.
Do you see any solution?
This script must work on QNX, command must be on thread, because I need 
to stop it after timeout. I need popen to see stdout and stderr.
Any ideas?



More information about the Python-list mailing list