Results 1 to 2 of 2

Thread: Question about QProcess::ExitCode() !

  1. #1
    Join Date
    Jun 2010
    Posts
    31
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Question about QProcess::ExitCode() !

    Hi all,

    I'm using QProcess to start an external application. All is working well but I want to know what the exitCode() means. It's a simple integer value which is also passed to slot finished().

    Is the integer value a plattform specific indetifier?

    I'm using WinXP.

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Question about QProcess::ExitCode() !

    In general
    0 = exit without problems (normal exit)
    > 0 = exit with a problem.

    Look in the documentation of the program to see what it can return (if it is documented at all)

Similar Threads

  1. QProcess question
    By jaxrpc in forum Newbie
    Replies: 1
    Last Post: 4th June 2010, 13:10
  2. question on QProcess
    By wagmare in forum Qt Programming
    Replies: 3
    Last Post: 17th January 2009, 07:23
  3. exitCode problem in QProcess
    By mattia in forum Newbie
    Replies: 7
    Last Post: 26th November 2007, 15:09
  4. Question about QProcess
    By lni in forum Qt Programming
    Replies: 5
    Last Post: 27th April 2007, 23:08
  5. QProcess Question
    By Vash5556 in forum Qt Programming
    Replies: 1
    Last Post: 26th February 2007, 16:24

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.