comp.lang.ada
 help / color / mirror / Atom feed
From: briot.emmanuel@gmail.com
Subject: Re: How to use/obtain output from system commands (in an Ada program) ?
Date: Wed, 22 Jun 2016 01:14:12 -0700 (PDT)
Date: 2016-06-22T01:14:12-07:00	[thread overview]
Message-ID: <2c9064e8-ad4c-402a-937d-bfbcb19c24c0@googlegroups.com> (raw)
In-Reply-To: <nk5hat$89q$1@gioia.aioe.org>

> > I am looking for a simple way to obtain output from "xmessage"
> > (or dialog/kdialog) in my Ada program. Any good hints?

Look at the package GNAT.Expect, which is meant to spawn an
executable while keeping pipes for its input and output. You do not have
to go through a file for this.
It is used by GPS to spawn compiler, interactive debugger,...


      parent reply	other threads:[~2016-06-22  8:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-19  6:08 How to use/obtain output from system commands (in an Ada program) ? reinkor
2016-06-19  7:23 ` Dmitry A. Kazakov
2016-06-20  8:34   ` reinkor
2016-06-20  8:44     ` Dmitry A. Kazakov
2016-06-20  9:22       ` reinkor
2016-06-20  9:59         ` Dmitry A. Kazakov
2016-06-20 19:25           ` reinkor
2016-06-20 19:55             ` Dmitry A. Kazakov
2016-06-22  8:14   ` briot.emmanuel [this message]
replies disabled

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