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
Value Returned
|
The specified child process was switched to interactive mode. |
|
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
Return to top