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

Home » Public Forums » archive » Re: Spawn Pipes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Spawn Pipes [message #20030] Thu, 11 May 2000 00:00
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"J.D. Smith" <jdsmith@astro.cornell.edu> writes:

> Any other unix 5.3 users out there have trouble reading from file
> units spawned as pipes to a command? Try this procedure:
>
...
>
> For me, almost every run results in an IDL segfault, though occassionally it
> will work.

This was indeed reported by several people a few months ago. We don't
have 5.3 here yet, thankfully I guess. I would be interested to hear
if there was a workaround.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: Spawn Pipes [message #20032 is a reply to message #20030] Thu, 11 May 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
J.D. Smith (jdsmith@astro.cornell.edu) writes:

> Any other unix 5.3 users out there have trouble reading from file units spawned
> as pipes to a command? Try this procedure:
>
> pro simp
> cmd='ls'
> spawn,unit=un,cmd
> line=''
> while 1 do begin
> readf,un,line
> print,'GOT: ',line
> endwhile
> end
>
> For me, almost every run results in an IDL segfault, though occassionally it
> will work.

I seem to have a vague notion in the reptilian part
of my brain that this is a known IDL 5.3 Linux problem,
although a quick check of my notes doesn't turn up
anything. Was it Bob Mallozzi who was complaining
about this?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PickData Method on IDLgrWindow Object
Next Topic: /MODAL makes widgets disappear

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

Current Time: Fri Oct 10 09:53:48 PDT 2025

Total time taken to generate the page: 0.88159 seconds