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

Home » Public Forums » archive » bidirectional pipe by Spawn on UNIX
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
bidirectional pipe by Spawn on UNIX [message #16874] Sun, 22 August 1999 00:00 Go to next message
Ivo Labbe is currently offline  Ivo Labbe
Messages: 2
Registered: August 1999
Junior Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello,
<p>While writing to an piped shell process from IDL in an unix environment
goes fine, I seem to be unable to read from it. Type conversion errors
all over the place. I'm obviously doing something wrong and IDL help is
not explicit on the subject. What is the preferred way to read the output
from a spawned piped child process?
<p>Ivo
<pre>--&nbsp;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "We are all in the gutter, but some of us are looking at the stars"

Ivo Labbe
Leiden Observatory
Room : 558&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp; Email: ivo@strw.leidenuniv.nl
Phone: (+31) (0)715275805&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; WWW&nbsp; : <A HREF="http://www.strw.leidenuniv.nl/~ivo">http://www.strw.leidenuniv.nl/~ivo</A>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ </pre>
&nbsp;</html>
Re: bidirectional pipe by Spawn on UNIX [message #16906 is a reply to message #16874] Tue, 24 August 1999 00:00 Go to previous message
John D. Sample is currently offline  John D. Sample
Messages: 11
Registered: August 1999
Junior Member
<HTML>
<HEAD>
<TITLE>Re: bidirectional pipe by Spawn on UNIX</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
Are you using READU? &nbsp;It must be an unformatted read. &nbsp;Then, the variable that gets read into, should be assigned the proper type before the read. &nbsp;&nbsp;In my very limited experience...that is.<BR>
<BR>
Chip<BR>
<BR>
----------<BR>
In article &lt;37BFF575.B3BB20A4@strw.leidenuniv.nl&gt;, Ivo Labbe &lt;ivo@strw.leidenuniv.nl&gt; wrote:<BR>
<BR>
<BR>
<BLOCKQUOTE>Hello, <BR>
<BR>
While writing to an piped shell process from IDL in an unix environment goes fine, I seem to be unable to read from it. Type conversion errors all over the place. I'm obviously doing something wrong and IDL help is not explicit on the subject. What is the preferred way to read the output from a spawned piped child process? <BR>
<BR>
Ivo -- <BR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;We are all in the gutter, but some of us are looking at the stars&quot;<BR>
<BR>
Ivo Labbe<BR>
Leiden Observatory<BR>
Room : 558 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;Email: <FONT COLOR="#0000FF"><U>ivo@strw.leidenuniv.nl<BR>
</U></FONT>Phone: (+31) (0)715275805 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WWW &nbsp;: <FONT COLOR="#0000FF"><U>http://www.strw.leidenuniv.nl/~ivo<BR>
</U></FONT><BR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ &nbsp;<BR>
</BLOCKQUOTE>
</BODY>
</HTML>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Strange multi-plotting problem
Next Topic: Image slicing

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

Current Time: Wed Oct 08 17:25:48 PDT 2025

Total time taken to generate the page: 0.00536 seconds