comp.lang.ada
 help / color / mirror / Atom feed
From: Rod Kay <rodakay5@gmail.com>
Subject: Re: Version 1.0 Release of aShell
Date: Thu, 18 Feb 2021 03:18:36 -0800 (PST)	[thread overview]
Message-ID: <41fd7791-5526-439e-8eda-ec7242503555n@googlegroups.com> (raw)
In-Reply-To: <i9410pFoed2U1@mid.individual.net>

On Wednesday, 17 February 2021 at 19:04:44 UTC+11, Niklas Holsti wrote:
> On 2021-02-17 1:09, Rod Kay wrote: 
> > Comments, especially criticism, very welcome :) .
> I suppose I could find out by looking more deeply into the component 
> (which looks nice in the README), but I'm lazy today, so I ask: do you 
> have a way of capturing the standard-error stream from a process, in 
> addition to the standard-output stream?

   With the process 'Start' subprograms, you can provide your own input/output/error pipes. If not provided they default to the standard pipes.

   function Start (Command           : in String;
                   Working_Directory : in String       := ".";
                   Input             : in Pipe         := Standard_Input;
                   Output            : in Pipe         := Standard_Output;
                   Errors            : in Pipe         := Standard_Error;
                   Pipeline          : in Boolean      := False) return Process;

   The ''Results_Of' function returns 'Command_Results' which provide access to data from both the Output_Pipe and the Error_Pipe.

   In hindsight, this is not adequate. I will review over the weekend and attempt a better solution.  

  reply	other threads:[~2021-02-18 11:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16 20:33 Version 1.0 Release of aShell Rod Kay
2021-02-16 23:09 ` Rod Kay
2021-02-17  8:04   ` Niklas Holsti
2021-02-18 11:18     ` Rod Kay [this message]
2021-02-17 11:05   ` Jeffrey R. Carter
2021-02-18 11:29     ` Rod Kay
2021-02-18 11:57       ` Jeffrey R. Carter
2021-02-19  9:07         ` Rod Kay
2021-02-18 14:06       ` Niklas Holsti
2021-02-20 22:58         ` mgr
2021-02-22 15:56           ` Rod Kay
2022-02-15 15:25   ` Thomas
2022-02-17 13:45     ` Rod Kay
replies disabled

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