[PATCH consfigurator v2 1/2] GPG: batch mode and return *ERROR-OUTPUT* in conditions

Sean Whitton spwhitton at spwhitton.name
Wed Oct 5 23:41:29 BST 2022


Hello,

On Wed 05 Oct 2022 at 05:48AM +02, Russell Sim wrote:

> Sean Whitton <spwhitton at spwhitton.name> writes:
>
>> On Tue 04 Oct 2022 at 10:51PM +02, Russell Sim wrote:
>>
>>> UIOP:RUN-PROGRAM, but will capture any STDOUT/STDERR if no streams are
>>> passed in.  Handle the SUBPROCESS-ERROR and convert it to a RUN-FAILED
>>> condition for all cases.  There is only one function
>>> TRY-GET-FILE-MIME-TYPE that deals directly with the SUBPROCESS-ERROR
>>> condition so I can update it to handle RUN-FAILED.  There will probably
>>> be a few places then where we need to explicitly pass in *ERROR-OUTPUT*
>>> or *STANDARD-OUTPUT* rather than that being the default output location?
>>
>> Not sure what you mean about *{STANDARD,ERROR}-OUTPUT*.
>
> Sometimes you want io to go to stderr/stdout, rather than being
> captured in a condition.

Ah I see.  Not sure that there are actually any such places, as
Consfigurator output goes via INFORM.

-- 
Sean Whitton



More information about the sgo-software-discuss mailing list