Results 1 to 3 of 3

Thread: QProcess to Start App

  1. #1

    Default QProcess to Start App

    In windows environment, when I'm using QProcess to start up application detatched, is there anyway to check what applications there are already running to see if my app is there already?

  2. #2
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QProcess to Start App

    sorry but can u state something more .. to understand more about ur problem ..

    any way ... if you want to check your QProcess that started by you

    if your QProcess is procc then ..

    (procc->state() == QProcess::Running) will return TRUE ....
    "Behind every great fortune lies a crime" - Balzac

  3. #3

    Default Re: QProcess to Start App

    But QProcess::startDetached(...) is static and doesn't return anything else, but success.

    I guess there is no direct way to check, if XXX named application exists already running in system...

Similar Threads

  1. Detect First QProcess finished in a group and kill other
    By Davidaino in forum Qt Programming
    Replies: 3
    Last Post: 11th July 2008, 13:53
  2. QProcess dosent want to start firefox
    By Zergi in forum Newbie
    Replies: 2
    Last Post: 17th February 2008, 16:42
  3. QProcess start a console program
    By Shawn in forum Qt Programming
    Replies: 2
    Last Post: 9th November 2007, 13:38
  4. Questions about kill() and start() of QProcess
    By mp33919 in forum Qt Programming
    Replies: 5
    Last Post: 23rd June 2007, 14:00
  5. QProcess start automaticaly needed application
    By raphaelf in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2006, 15:11

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.