X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=pctb%2Focr.c;h=df4aacfbb05e299e09642f66115abfbe0bd8b584;hp=7f3be26a0eaee8c90906129c674d56514d74ad54;hb=1ae1abc15aae822e996b23e2dc73612b4d401044;hpb=909b1d69c7cafc7b50d932a0c1f790c9f91cb430 diff --git a/pctb/ocr.c b/pctb/ocr.c index 7f3be26..df4aacf 100644 --- a/pctb/ocr.c +++ b/pctb/ocr.c @@ -110,7 +110,8 @@ static void callout_unknown(int w, int h, Pixcol cols[], /* we know donepipe[1] is >= 4 and we have dealt with all the others * so we aren't in any danger of overwriting some other fd 4: */ r= dup2(donepipe[1],4); eassert(r==4); - execlp("./show-thing.tcl", "./show-thing.tcl","--automatic",(char*)0); + execlp("./show-thing.tcl", "./show-thing.tcl", + "--automatic","1",(char*)0); eassert(!"execlp failed"); } r= close(jobpipe[0]); eassert(!r);