Product Documentation
Cadence Interprocess Communication SKILL Reference
Product Version IC23.1, June 2023

ipcGetExitStatus

ipcGetExitStatus( 
o_childId 
) 
=> x_status

Description

Returns the exit value of the child process.

If the postFunc callback function is used in the initiation of a process, this call is not necessary.

Arguments

o_childId

Child process handle.

Value Returned

x_status

Exit value of the child process.

Examples

      cid = ipcBeginProcess("ls")
ipc:3
ipcGetExitStatus(cid)
0
cid = ipcBeginProcess("bad_command")
; The command will cause an error
ipc:4
ipcGetExitStatus(cid)
1

Related Topics

Interprocess Communication Functions

ipcBeginProcess


Return to top
 ⠀
X