NXOpen.UF.Cfi.SpawnCheckStatus

Cfi.SpawnCheckStatus()

Refer to UF_CFI_spawn_check_status for documentation.

Signature: SpawnCheckStatus(processId)

Parameters:processId (int) – The process id returned by UF_CFI_spawn for the command that was run. Note that this is only returned for processes that are run concurrently.
Returns:A Tuple
Return type:A tuple consisting of (stillRunning,returnStatus)

stillRunning(bool): If TRUE, the command is still running. If FALSE, the command has completed.

returnStatus(int): If still_running is FALSE, then this is the return status from the child process. If still_running is TRUE, then this will be set to zero. A return_status of 127 is set when the spawned command could not be found.

License requirements: None