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

ipcActivateBatch

ipcActivateBatch( 
o_childId 
) 
=> t / nil

Description

Switches a child process to batch mode.

This means that output from the child is written only to the log file given when the child was created.

The child process must have started its life through either ipcBeginProcess or ipcSkillProcess and a log file 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 batch mode.

nil

The child process has already expired.

Examples

      cid = ipcBeginProcess("ls -lR /" "" nil nil nil 
"/tmp/ls.log")
ipc:3
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

ipcActivateMessages

ipcBeginProcess

ipcSkillProcess


Return to top
 ⠀
X