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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a0c:8964:: with SMTP id 33mr3476152qvq.241.1571315127060; Thu, 17 Oct 2019 05:25:27 -0700 (PDT) X-Received: by 2002:aca:d882:: with SMTP id p124mr2856178oig.44.1571315126814; Thu, 17 Oct 2019 05:25:26 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!o24no6601418qtl.0!news-out.google.com!x7ni116qtf.0!nntp.google.com!o24no6601395qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 17 Oct 2019 05:25:26 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:a03f:e3e9:4d00:1260:4bff:fe89:deb2; posting-account=kTRirAoAAACnF_wtAOSamxYBSVvmJuCa NNTP-Posting-Host: 2a02:a03f:e3e9:4d00:1260:4bff:fe89:deb2 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <69956c86-273a-40c4-b1d8-dc5c7a8e960f@googlegroups.com> Subject: execute external shell program and process the output line by line From: devosalain71@gmail.com Injection-Date: Thu, 17 Oct 2019 12:25:27 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1363 X-Received-Body-CRC: 3440414985 Xref: reader01.eternal-september.org comp.lang.ada:57313 Date: 2019-10-17T05:25:26-07:00 List-Id: I need the call a process like "ls", And process the output line by line. So it is not sufficient if i have the return code success or error. Thanks,