comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Start a Windows process and get its text output
Date: Sat, 6 Feb 2010 22:01:50 +0100
Date: 2010-02-06T22:01:43+01:00	[thread overview]
Message-ID: <kiv1q83lygtk$.1p29mychalkp8$.dlg@40tude.net> (raw)
In-Reply-To: eaa3328c-e7fd-467e-b2d1-a30ed11bb330@l19g2000yqb.googlegroups.com

On Sat, 6 Feb 2010 09:39:30 -0800 (PST), Gautier write-only wrote:

> Does someone have some nice open source to do that ?
> I began to cannibalize working code from AdaGIDE, but it is a bit
> messy.
> If I can save a couple of hours to make a good package out of it, it
> would be cool...
> TIA
> 
> [ the goal is to have a reusable object-oriented component; its first
> usage would be in the GWenerator tool for launching gnatmake or a
> resource compiler and display its output in boxes ]

For same purpose (launching gprbuild and catching the output and error
streams) I used GTK+ bindings.

I considered GNAT.OS_Lib, but dropped that for various reasons. Since GTK+
API are quite tricky when it comes to process spawning, I built thicker
bindings on top. Spawning a process with pipes:

   http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm#10.1

and with text buffers instead of pipes

   http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm#10.2

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



  parent reply	other threads:[~2010-02-06 21:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-06 17:39 Start a Windows process and get its text output Gautier write-only
2010-02-06 18:12 ` Hibou57 (Yannick Duchêne)
2010-02-06 18:23 ` Pascal Obry
2010-02-06 19:21   ` Gautier write-only
2010-02-06 19:42 ` Jeffrey R. Carter
2010-02-06 21:01 ` Dmitry A. Kazakov [this message]
2010-02-07 17:54 ` Vadim Godunko
2010-02-07 19:24   ` Hibou57 (Yannick Duchêne)
2010-02-07 19:36     ` Hibou57 (Yannick Duchêne)
2010-02-07 20:35     ` Hibou57 (Yannick Duchêne)
2010-02-07 21:36     ` Dmitry A. Kazakov
replies disabled

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