From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,783da1e5184ba1c9,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!cleanfeed4-a.proxad.net!nnrp13-2.free.fr!not-for-mail Newsgroups: comp.lang.ada From: "philippe.torgue@free.fr" Subject: system call User-Agent: XPN/1.2.6 (Street Spirit ; Linux) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: 13 Aug 2011 18:43:15 GMT Message-ID: <4e46c5c3$0$32648$426a74cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 13 Aug 2011 20:43:15 MEST NNTP-Posting-Host: 82.229.29.225 X-Trace: 1313260995 news-1.free.fr 32648 82.229.29.225:47677 X-Complaints-To: abuse@proxad.net Xref: g2news1.google.com comp.lang.ada:20610 Date: 2011-08-13T20:43:15+02:00 List-Id: Hello, I have a program, the time of his execution, constructed images, in fact files in PPM (P3, plain text mode) In short, the program does not deal with the viewing of these images (failing to find a library to do ...) So I want to entrust this task to an external application (imview, xview, qiv ... etc): res = system ("imview out.ppm"); But each time this code is a new process image viewer (here imview) that arises. My application is waiting while I close imview to move to the next iteration. Well, now you have guessed the question for each passage on the line above, I would like the external program (imview, qiv, xview ... whatever), load a new image Regards!