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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.95.100 with SMTP id dj4mr1371822obb.5.1402488684318; Wed, 11 Jun 2014 05:11:24 -0700 (PDT) X-Received: by 10.50.47.72 with SMTP id b8mr629683ign.9.1402488684150; Wed, 11 Jun 2014 05:11:24 -0700 (PDT) Path: border1.nntp.dca.giganews.com!nntp.giganews.com!a13no1175166igq.0!news-out.google.com!qf4ni19596igc.0!nntp.google.com!h3no1021564igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 11 Jun 2014 05:11:23 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.145.50.10; posting-account=3_reEwoAAAC163IAIrx427KYmwahFuh9 NNTP-Posting-Host: 83.145.50.10 References: <1402308235.2520.153.camel@pascal.home.net> <85ioo9yukk.fsf@stephe-leake.org> <255b51cd-b23f-4413-805a-9fea3c70d8b2@googlegroups.com> <5ebe316d-cd84-40fb-a983-9f953f205fef@googlegroups.com> <18jneq8stp0h.95zrzy7hafft$.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1447796f-0ced-4791-ad6d-292dbe2bcfeb@googlegroups.com> Subject: Re: a new language, designed for safety ! From: =?ISO-8859-1?Q?bj=F6rn_lundin?= Injection-Date: Wed, 11 Jun 2014 12:11:24 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.dca.giganews.com comp.lang.ada:186837 Date: 2014-06-11T05:11:23-07:00 List-Id: Den tisdagen den 10:e juni 2014 kl. 21:34:12 UTC+2 skrev Tero Koskinen: > I would like to have following non-gpl, preferably 100% Ada, libraries > without GNAT specific dependencies: ... > - Some sort of easy interface to execute programs on *nix/Windows > and capture the input/output/stderr/exit code[2] ...=20 > [2] *nix part is easy, but I have no idea how to do that on Windows :) in Gnat for win, there's a file adaint.c in=20 which there are functions static int win32_wait (int *status) static void win32_no_block_spawn (char *command, char *args[], HANDLE *h, i= nt *pid) which perhaps are helpful in spawning an getting exitcodes, if combined. /Bj=F6rn