PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 937 - missing pid method in QProcess
: missing pid method in QProcess
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtCore
: HEAD
: All All
: P2 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-07-18 23:32 EEST by Tiziano Lattisi
Modified: 2011-07-22 22:12 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Lattisi 2011-07-18 23:32:22 EEST
PySide.QProcess is missing the pid method.

>>> from PySide.QtCore import QProcess as QProcessPySide
>>> from PyQt4.QtCore import QProcess as QProcessPyQt4
>>> p1 = QProcessPyQt4()
>>> p1.start('ls')
>>> p1.pid()
2754L
>>> p2 = QProcessPySide()
>>> p2.start('ls')
>>> p2.pid()
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
AttributeError: 'PySide.QtCore.QProcess' object has no attribute 'pid'
Comment 1 Hugo Parente Lima 2011-07-22 16:52:38 EEST
Fixed in commit:

pyside/f1b330231afb8cb8662c62b2b2b6ec1166e71ca0
Comment 2 renato filho 2011-07-22 22:12:57 EEST
release 1.0.5