Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Get QProcess from pid ?
Forum Updated to NodeBB v4.3 + New Features

Get QProcess from pid ?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 370 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    Is there a way to get a pointer to a QProcess that has been launched using just its PID ?

    I'm asking this because presently I have created a map to maintain pointers to QProcess instances when a process was launched, I'm curious to learn if this is required and if instead I can just keep the PID when launched and then lookup or get the QProcess from the PID?

    Kind Regards,
    Sy

    JKSHJ 1 Reply Last reply
    0
    • SPlattenS SPlatten

      Is there a way to get a pointer to a QProcess that has been launched using just its PID ?

      I'm asking this because presently I have created a map to maintain pointers to QProcess instances when a process was launched, I'm curious to learn if this is required and if instead I can just keep the PID when launched and then lookup or get the QProcess from the PID?

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @SPlatten said in Get QProcess from pid ?:

      Is there a way to get a pointer to a QProcess that has been launched using just its PID ?

      Nope.

      I'm asking this because presently I have created a map to maintain pointers to QProcess instances when a process was launched, I'm curious to learn if this is required and if instead I can just keep the PID when launched and then lookup or get the QProcess from the PID?

      Keep using your map.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      5

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved