I want to use skill to invoke "calibre " command and want to display the "running process" on unix terminal or new window like assura running process.
I only find ipcWaitProess and ipcReadProcess, but these command only can get result.
I want users know that calibre is running when he invoked skill gui button.
I aslo want virtuoso can still work, not occupy by calibre .
You need to run the job as an asynchronous process - look for "Asynchronous Input/Output" in the documentation and it should show you how to do this.
Hopefully this will help you.
In reply to skillUser:
I Just try and virtuoso won't be stopped by running other EDA tools
however the running process still can 't display on unix terminal or CIW window.
only disply "Lauch" on CIW.
my code as below:
run_command = "calibre -lvs rulerile
cid = ipcBEginProcess(
(unless (displayExResults data)
error("Display failed \n")
In reply to tomchen:
Not sure if it is a copy-paste problem, but your first procedure "TEST" is not complete, the prog and procedure both need a close parenthesis. You can use ipcIsAliveProcess() to query the child process id and see if it is still running. You can use ipcWriteProcess() if anything needs to be sent to the child process. For these you will need the child handle, so don't declare it in the prog local variables (but you can add run_command to the list).
Hope this helps.
The dataHandler should notify you when there is data available from the child process. In a synchronous communication flow you would use ipcReadProcess to read back from the process.