comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to use the SPAWN pipe?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to use the SPAWN pipe? [message #36495 is a reply to message #36493] Mon, 22 September 2003 23:50 Go to previous message
Ricard Marxer is currently offline  Ricard Marxer
Messages: 2
Registered: September 2003
Junior Member
Me again,

Having real problems with this pipe reading issue.
I am able to read the first line of the output of my program (the program I
spawned) but then the instruction "READF, Pipe, Line" seems to block. Is it
because it doesn't detect the end of a line??? Can someone help me out with
this one, please? Thanks
Ricard


"Ricard Marxer" <rpm51@uow.edu.au> escribi� en el mensaje
news:bko8q7$b7e$1@spacebar.ucc.usyd.edu.au...
> 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
>
>


---
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
[Message index]
 
Read Message
Read Message
Previous Topic: How to use the SPAWN pipe?
Next Topic: lens distortion

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 10:48:22 PDT 2025

Total time taken to generate the page: 1.67739 seconds