From help-request at octave dot org Tue Jun 1 09:26:46 2004 Subject: exec, fork, system under Windows 2k From: Michal Seidl To: help at octave dot org Date: Tue, 1 Jun 2004 07:01:38 -0500 Hi, How can I call other program from octave and then use its output. I call '*.bat' file using exec ('*.bat'), but it terminates Octave. In case I try to use fork() it leads to Octave brakedown. Order 1. Start Octave 2. Call Octave sript X <------------------------------------ 3. Script generates an input file for a program Y | 2. Calling program Y to generate input for Octave sript X | 3. Waitting the program Y terminate and call back script X - 4. Script ends after several loops Thanks Michal __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------------- 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 -------------------------------------------------------------