|
From: | Michael D Godfrey |
Subject: | Re: wait_for_file ?? |
Date: | Tue, 07 Sep 2010 22:45:48 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Thunderbird/3.1.2 |
On 09/07/2010 08:55 PM, Shai Ayal wrote:
Here is is, as you expected:I would be happy if you could confirm this by another printf just before the fopen. octave:1> plot(1:20) octave:2> print ('gl2ps_t1x.pdf','-dpdf') GPL Ghostscript 8.71: Unrecoverable error, exit code 1 warning: print.m: Error: /undefinedfilename in (/tmp/oct-r9ITjC.eps) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push Dictionary stack: --dict:1158/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)-- Current allocation mode is local Last OS error: 2 , 'gl2ps_t1x.pdf'. warning: print.m: No such file or directory, '/tmp/oct-r9ITjC.eps'. octave:3> About to fopen /tmp/oct-r9ITjC.eps fclose of /tmp/oct-r9ITjC.eps OK> octave:3> ======================================= Now, will the pipe version really fix this? Back to reread John's suggestion. Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |