comp.lang.ada
 help / color / mirror / Atom feed
From: Eryndlia Mavourneen <eryndlia@gmail.com>
Subject: Re: Is there some way of calling a system command?
Date: Wed, 27 Nov 2013 06:10:02 -0800 (PST)
Date: 2013-11-27T06:10:02-08:00	[thread overview]
Message-ID: <77d9dfa9-e3c4-4cc9-9279-bc84f051ddff@googlegroups.com> (raw)
In-Reply-To: <5295991f$0$6634$9b4e6d93@newsspool2.arcor-online.net>

On Wednesday, November 27, 2013 1:02:54 AM UTC-6, Georg Bauhaus wrote:
> On 26.11.13 20:49, adambene...@gmail.com wrote:
> > On Tuesday, November 26, 2013 10:54:37 AM UTC-8, tolkamp wrote:
> >
> >> >Thank you for your explanation. Now it works, the extra program is started.
> >> >
> >> >The only disadvantage is that the Ada code below the procedure System_Example is suspended untill the extra started program is terminated. Is there a possibility that the Ada program continues while the extra program runs?
> > You could try putting it in a task.
> 
> I'd also try the "start" command available with Windows(TM) and
> see if it makes the Ada program continue while the "start"-ed
> program runs at the same time. (That is, you'd use "start" like
> "dir", with the to-be-run program among the arguments passed to
> "start".)

"spawn", of course, implies that the new process be a child process of the spawning process.  It also can be desirable to create an independent process, and it sounds as if the Windows "start" command does this, although I don't believe it is so easily done on Linux/POSIX systems.  Of course, it is trivial on VMS.  :-)

-- Eryndlia Mavourneen (KK1T)

  reply	other threads:[~2013-11-27 14:10 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 [this message]
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
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