On May 6, 8:18 pm, bedo...@[EMAIL PROTECTED]
wrote:
> id=ipcBeginProcess("ls" "" 'MYdataHandler 'MYdataHandler
> 'MYexitHandler)
>
> But i don't understand how it works and how to modify it to fit my
> code.
bedoune,
Check out the IPC reference manual, doc/skipcref/skipcref.pdf, it's
not bad and has trivial examples like you want.
To do the equivalent of your simple "csh(Com)", you want to
use ipcBatchProcess(), not ipcBeginProcess().
Using your same command string Com, you would do something
like:
ipcBatchProcess(Com "" "./calibre.log")
There's no error checking there, or results notification, but you
weren't doing any before, either!
-Jay-


|