[PyQt] KProcess setUsePty not there...
Wilbert Berendsen
wbsoft at xs4all.nl
Wed Apr 2 16:00:52 BST 2008
Hi,
I want to run a program that insists on reading from a terminal using KProcess
(from within PyKDE), but it seems KProcess::setUsePty() does not exist:
Python 2.5.1 (r251:54863, Mar 26 2008, 22:37:08)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from kdecore import *
>>> p=KProcess()
>>> p.setUsePty(3,False)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: setUsePty
KDE: 3.5.8
dev-python/sip: 4.7.3
dev-python/pykde: 3.16.0
dev-python/PyQt: 3.17.4
How can I fix this?
with best regards,
Wilbert Berendsen
--
http://www.wilbertberendsen.nl/
Met vriendelijke groet,
Wilbert Berendsen
--
http://www.wilbertberendsen.nl/
"You must be the change you wish to see in the world."
-- Mahatma Gandhi
More information about the PyQt
mailing list