Exit Status

The exit status or return code of a process in computer programming is a small number passed from a child process (or callee) to a parent process (or caller) when it has finished executing a specific procedure or delegated task. In DOS, this may be referred to as an errorlevel.

When computer programs are executed, the operating system creates an abstract entity called a process in which the book-keeping for that program is maintained. In multitasking operating systems such as Unix or Linux, new processes can be created by active processes. The process that spawns another is called a parent process, while those created are child processes. Child processes run concurrently with the parent process. The technique of spawning child processes is used to delegate some work to a child process when there is no reason to stop the execution of the parent. When the child finishes executing, it exits by calling the exit system call. This system call facilitates passing the exit status code back to the parent, which can retrieve this value using the wait system call.

Read more about Exit Status:  Semantics

Famous quotes containing the words exit and/or status:

    Exit the mental moonlight, exit lex,
    Rex and principium, exit the whole
    Shebang. Exeunt omnes. Here was prose
    More exquisite than any tumbling verse:
    A still new continent in which to dwell.
    Wallace Stevens (1879–1955)

    [In early adolescence] she becomes acutely aware of herself as a being perceived by others, judged by others, though she herself is the harshest judge, quick to list her physical flaws, quick to undervalue and under-rate herself not only in terms of physical appearance but across a wide range of talents, capacities and even social status, whereas boys of the same age will cite their abilities, their talents and their social status pretty accurately.
    Terri Apter (20th century)