How to use the SPAWN pipe? [message #36497] |
Mon, 22 September 2003 18:49 |
Ricard Marxer
Messages: 2 Registered: September 2003
|
Junior Member |
|
|
Hi,
I want to use the SPAWN command in IDL, to run a program under Unix that
takes a long time to finish, but while it runs it prints information in the
screen. I would like to print this information in a WIDGET_LIST, so I
thought I would have to use the SPAWN command with the UNIT keyword and then
run a loop that will read from the pipe and add the information to the VALUE
of the list. This is not a problem, the problem is how to know that the
program has finished??? Because the last line of the program might change
in every execution.
Thanks,
Ricard
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18/07/2003
|
|
|