comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Is there some way of calling a system command?
Date: Tue, 26 Nov 2013 21:31:49 +0100
Date: 2013-11-26T21:31:49+01:00	[thread overview]
Message-ID: <avzjtrmvmln0$.64z4rbzdot6g$.dlg@40tude.net> (raw)
In-Reply-To: l72r0a$dup$1@dont-email.me

On Tue, 26 Nov 2013 11:58:18 -0700, Jeffrey Carter wrote:

> On 11/26/2013 11:24 AM, Per Sandberg wrote:
>> Why not just
>> 	GNAT.OS_Lib.spawn
>> or
>> 	GNAT.Expect.*
>> ?
> 
> A. One is using another compiler
> 
> B. One wishes to write portable code

It is rather debatable what would be more portable calling to system or
using GNAT's OS_Lib.

In more realistic cases, when some sort of process communication is
involved, system is not an option. Even OS_Lib is quite complicated for
asynchronous calls with pipes etc.

I wish there were some standard Ada library with proxy task interface for
an outstanding system process.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2013-11-26 20:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-11  8:46 Is there some way of calling a system command? Aldebaran
2006-06-11 13:19 ` jimmaureenrogers
2006-06-11 14:35   ` Aldebaran
2006-06-15 14:03   ` Michel Simeon
2006-06-15 14:11     ` Ludovic Brenta
2006-06-15 14:57       ` Michel Simeon
2013-11-26 15:35   ` tolkamp
2013-11-26 16:10     ` adambeneschan
2013-11-26 18:54       ` tolkamp
2013-11-26 19:49         ` adambeneschan
2013-11-26 21:03           ` Dirk Heinrichs
2013-11-27  7:02           ` Georg Bauhaus
2013-11-27 14:10             ` Eryndlia Mavourneen
2013-11-27  8:52           ` Jacob Sparre Andersen
2013-11-27 18:56           ` tolkamp
2013-11-26 18:24     ` Per Sandberg
2013-11-26 18:58       ` Jeffrey Carter
2013-11-26 20:31         ` Dmitry A. Kazakov [this message]
2013-11-26 22:52           ` Randy Brukardt
2013-11-28  5:37         ` Per Sandberg
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox