Important: Please read the Qt Code of Conduct -

How to run QProcess in background?

  • 0
    down vote
    I want to create a QProcess and run it in background. I have a scheduler that maintains a queue of jobs to be launched as QProcesses. These QProcess have commands that are run in an lsf machine. The requirement is that once a QProcess is running I have to poll the QProcess and get its status. To poll the qprocess and get its status it has to be run in background. If it's not run in background, the moment qprocess is launched it will show its status as 0. I want to fetch the status of qprocess running the command in lsf machine.How to run the QProcess in background to get the coreect status. if QProcess running the unix command, QProcess poll should show it as running.

  • Moderators

    Answered at

    If you are cross-posting from another site, please add the link to the other site so that people don't waste time on a question that's already answered, thanks.

Log in to reply