Results 1 to 2 of 2

Thread: Question about QProcess::ExitCode() !

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

    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
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    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, 14:10
  2. question on QProcess
    By wagmare in forum Qt Programming
    Replies: 3
    Last Post: 17th January 2009, 08:23
  3. exitCode problem in QProcess
    By mattia in forum Newbie
    Replies: 7
    Last Post: 26th November 2007, 16:09
  4. Question about QProcess
    By lni in forum Qt Programming
    Replies: 5
    Last Post: 28th April 2007, 00:08
  5. QProcess Question
    By Vash5556 in forum Qt Programming
    Replies: 1
    Last Post: 26th February 2007, 17: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
  •  
Qt is a trademark of The Qt Company.