On Monday 18 July 2011 15:10:30 Tiziano Lattisi wrote:
> PySide.QProcess hasn't a 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'Congratulations! You found a bug! :-) Could you file a bug report on bugs.pyside.org ? > Tiziano > > 2011/7/18 Hugo Parente Lima <[email protected]>: > > On Monday 18 July 2011 10:24:18 mayzel wrote: > >> Hi, > >> > >> If there any way to get running process id if I'm starting process > >> with QProcess.start() > > > > QProcess.pid() ? > > > >> QProcess.startDetached(program, arguments, workingDirectory) returns > >> retval, pid, but I don't want to start detached process > >> > >> Thanks, > >> Maxim > >> _______________________________________________ > >> PySide mailing list > >> [email protected] > >> http://lists.pyside.org/listinfo/pyside > > > > -- > > Hugo Parente Lima > > INdT - Instituto Nokia de Tecnologia > > > > _______________________________________________ > > PySide mailing list > > [email protected] > > http://lists.pyside.org/listinfo/pyside -- Hugo Parente Lima INdT - Instituto Nokia de Tecnologia
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
