From help-request at octave dot org Sat Dec 24 05:39:22 2005 Subject: politeness, good programming style, and pipes From: Brian Blais To: help at octave dot org Date: Sat, 24 Dec 2005 06:33:52 -0500 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 -- ----------------- bblais at bryant dot edu 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 -------------------------------------------------------------