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

ipcActivateMessages

ipcActivateMessages( 
o_childId 
) 
=> t / nil

Description

Switches a child process into interactive mode. In interactive mode, output from the child is written to a log file and is passed on to the parent process.

The child process must have started its life through either ipcBeginProcess or ipcSkillProcess and a logFile must have been given. An error could result if these conditions are not met.

Arguments

o_childId

Child process handle.

Value Returned

t

The specified child process was switched to interactive mode.

nil

If the child process has already expired.

Examples

      cid = ipcBeginProcess("ls -lR /" "" nil nil nil 
"/tmp/ls.log")
ipc:4
ipcActivateBatch(cid)
; Write output to log file /tmp/ls.log only
t
ipcActivateMessages(cid) ; Output is written to the
; log file and passed
; to parent process
t

Related Topics

Interprocess Communication Functions

ipcActivateBatch

ipcBeginProcess

ipcSkillProcess


Return to top
 ⠀
X