[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
politeness, good programming style, and pipes
From: |
Brian Blais |
Subject: |
politeness, good programming style, and pipes |
Date: |
Sat, 24 Dec 2005 06:33:52 -0500 |
User-agent: |
Mozilla Thunderbird 1.0.6 (X11/20050716) |
Hello,
I was wondering what the proper way to handle the closing of pipes is. If I
open up
a pipe to another program (using popen or popen2), and intend on always keeping it
alive until octave actually exists, should I take care of closing it myself or will
this happen automagically when octave exits? Should I use atexit() to take
care of
the closing of this pipe? What does octave do with gnuplot for such a case?
thanks,
Brian Blais
--
-----------------
address@hidden
http://web.bryant.edu/~bblais
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- politeness, good programming style, and pipes,
Brian Blais <=