From owner-help-octave at bevo dot che dot wisc dot edu Wed Feb 5 14:28:06 1997 Subject: subprocesses From: James Walter Taylor To: help-octave at bevo dot che dot wisc dot edu Date: Wed, 5 Feb 1997 12:28:02 -0800 I'm using octave to drive the testing of a pattern recognition program. An octave script generates a pattern, stores it in a file and starts an external process which processes the data. i.e. a loop around a construct like: --- V = blah(); fdx=fopen(tmpFile, 'w'); fprintf(fdx, '%d\n', V); fclose(fdx); [result,s] = system(['/home/james/newthing <' tmpFile ]); --- millions of times. Well after only a few 10s of thousands of times I see errors like: error: unable to start subprocess for `/home/james/newthing ls error: couldn't start process for ls! error: evaluating expression near line 27, column 1 --- Any clues ? Thanks James