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

Home » Public Forums » archive » Re: Calling IDL from Perl
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: Calling IDL from Perl [message #26963 is a reply to message #26956] Wed, 03 October 2001 12:24 Go to previous messageGo to previous message
gary.hodgesREMOVE is currently offline  gary.hodgesREMOVE
Messages: 9
Registered: October 2001
Junior Member
JD Smith <jdsmith@astro.cornell.edu> wrote:
: gary.hodgesREMOVE@cires.colorado.edu wrote:
:>
:> OK, I have distilled my problem down to the simplest example I can. My
:> problem is that the Perl script finishes before the IDL script is executed.
:> I have tried sleep commands, but the results are the same. What can I do to
:> get the IDL script to execute before the Perl script prints the contents of
:> @ary? Below are the two scripts and the output.

: close IDL; #THIS ONE CRITICAL

: Since you weren't closing the filehandle, the IDL input was not being
: flushed, until after the program exited (at which point it was forced
: close).

Thank you so much. It seems so obvious now...

Cheers,
Gary
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: right-justifying draw widgets?
Next Topic: Re: Is there a line widget

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

Current Time: Fri Oct 10 23:58:45 PDT 2025

Total time taken to generate the page: 2.15865 seconds