* Ted Zeng <[EMAIL PROTECTED]> [2006-07-25T13:17:13]
> I could not figure out how to get the tool process's id. But by observing,
> I notice that its pid is 'always' equals to child process's pid+1.

It would have been helpful to see the contents of execEggplant.  Is it really
using exec?  If so, the child's pid should be the same as the thing that exec'd
it.

If you use open(), the return value of open will be the pid of the pipe opened.

If you use system(), you may be out of luck; I don't know.

...or is it the case that execEggplant exec's some script which then, itself
runs Eggplant?  In that case, you will have to roll your own IPC.

-- 
rjbs

Attachment: signature.asc
Description: Digital signature

Reply via email to