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

ipcBatchProcess

ipcBatchProcess( 
t_command 
t_hostName 
t_logFile 
)
=> o_childId

Description

Invokes a process to execute batch commands. The child process in this case is a batch process that does not communicate with the parent process.

This child process is locked in the batch mode and cannot be switched into the active data passing mode.

Arguments

t_command

Command to be executed locally or on a network node.

t_hostName

Network node.An empty string ("") for hostName means the process is run locally.

t_logFile

Data written to the child’s stdout and stderr is written into this logFile. The logFile is closed when the child terminates and can be read subsequently using file input and output functions.

Value Returned

o_childId

Batch process that does not communicate with the parent process.

Examples

cid = ipcBatchProcess("ls /tmp" "" "/tmp/ls.log")
ipc:4

Then, /tmp/ls.log has the file listing of /tmp.

Related Topics

Interprocess Communication Functions

ipcActivateBatch

ipcBeginProcess

ipcSkillProcess


Return to top
 ⠀
X