Results 1 to 2 of 2

Thread: QProcess.pid() returns wrong pid in PyQt(windows)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Posts
    20
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QProcess.pid() returns wrong pid in PyQt(windows)

    Qt Code:
    1. #######
    2. self.m_prohandle = QtCore.QProcess(self)
    3. self.m_prohandle.start( QtCore.QString(self.m_textpalyerName),l_argv)
    4. print int(self.m_prohandle.pid())
    To copy to clipboard, switch view to plain text mode 

    i converted sip.voidptr (void* in c++) to int by python builtin method int(),but the result was a large number like 62552816, so what's wrong here?


    sorry for my english and thanks in advance
    Last edited by vertusd; 16th April 2011 at 06:04.

Similar Threads

  1. QHttp get returns the wrong page
    By SpeedxDevil in forum Newbie
    Replies: 1
    Last Post: 14th November 2010, 22:46
  2. PyQt... What am I doing wrong?!
    By Richie in forum Newbie
    Replies: 2
    Last Post: 4th September 2009, 17:14
  3. Replies: 2
    Last Post: 2nd June 2008, 08:45
  4. Replies: 4
    Last Post: 27th July 2006, 11:13
  5. QProcess...what's wrong
    By nupul in forum Newbie
    Replies: 3
    Last Post: 4th May 2006, 12:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.