Home > Community > Forums > Custom IC SKILL > IPC exit status

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 IPC exit status 

Last post Wed, Jun 30 2010 10:00 PM by Andrew Beckett. 1 replies.
Started by Yaosan 30 Jun 2010 09:03 AM. Topic has 1 replies and 892 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Jun 30 2010 9:03 AM

    • Yaosan
    • Top 500 Contributor
    • Joined on Fri, Aug 7 2009
    • Toronto, Ontario
    • Posts 35
    • Points 610
    IPC exit status Reply

    I'm trying to find proper documentation that describes different type of exit status I can expect to see when an IPC process is terminated or completed but I couldn't find any. The example given in the documentation says 0 will be returned if the command completed successfully and 1 will be returned if the command didn't complete.

    Is there a table that will explain the exit status in details? I'm having trouble understanding my IPC process that returns 2 within the postfunc when the command is completed.

     

    Filed under:
    • Post Points: 20
  • Wed, Jun 30 2010 10:00 PM

    Re: IPC exit status Reply

    The exit status of a program is actually defined by the program itself - there's no table of exit statuses. If written in C, for example, a process can call exit(-23) if it wants to signify some particular problem.

    If in csh you do:

    myProgram
    echo $status

    you'd see the status it reports.

    Best Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Yaosan at 30 Jun 2010 09:03 AM. Topic has 1 replies.