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

Home » Public Forums » archive » Spawn Pipes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Spawn Pipes [message #20035] Thu, 11 May 2000 00:00
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
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.

JD

--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
[Message index]
 
Read Message
Previous Topic: /MODAL makes widgets disappear
Next Topic: Re: Filling in the Gaps (contour mapping)

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

Current Time: Thu Oct 09 20:09:08 PDT 2025

Total time taken to generate the page: 0.55763 seconds