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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cc1e5a80c87c0755,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-22 05:16:01 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!freenix!teaser.fr!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!bgo1-bap1-217-190-112.adsl.tele2.NO!not-for-mail From: Jarle Thorsen Newsgroups: comp.lang.ada Subject: Running external program, getting output Date: 22 Jun 2003 13:51:56 +0200 Sender: jarle@maskin.flamestrike.no-ip.org Message-ID: NNTP-Posting-Host: bgo1-bap1-217-190-112.adsl.tele2.no (193.217.190.112) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: fu-berlin.de 1056282818 25593839 193.217.190.112 (16 [132008]) X-Orig-Path: flamestrike.no-ip.org!news User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Portable Code) Xref: archiver1.google.com comp.lang.ada:39560 Date: 2003-06-22T13:51:56+02:00 List-Id: As far as I have gathered the best way of (non OS-specific) running an external program from Ada is using the Spawn procedure in g-os_lib, correct ? But how do I get the output from the command that I run? Lets say that I want to run "ls" for example..... -- Jarle Thorsen