Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

User Commands (m - o) osh(1)
EXIT VALUES
If the osh command successfully starts the child process, osh returns the completion code 0. Oth-
erwise, osh returns one of the following completion codes:
3 The osh process terminated abnormally.
2 The child process terminated abnormally.
1 Warnings occurred when the child process started.
The completion code returned by the child process is returned as the termination status of the osh
process. For example:
126 Indicates the command was found but is not executable.
127 Indicates the command was not found.
RELATED INFORMATION
Commands: gtacl(1).
Functions: getlogin(2), open(2), tdm_execve(2), tdm_execvep(2), strerror(3), system(3).
Files: core(4), errno(5).
STANDARDS CONFORMANCE
The osh command as a mechanism for starting a shell is an HP extension to the XPG4 Version 2
specification.
527188-021 Hewlett-Packard Company 6115