bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] exec: connect std{in,out,err} to the mach console


From: Ludovic Courtès
Subject: Re: [PATCH 1/2] exec: connect std{in,out,err} to the mach console
Date: Wed, 05 Feb 2014 19:36:24 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Samuel Thibault <samuel.thibault@gnu.org> skribis:

> Ludovic Courtès, le Wed 05 Feb 2014 14:52:27 +0100, a écrit :
>> Justus Winter <4winter@informatik.uni-hamburg.de> skribis:
>> 
>> > * exec/main.c (S_exec_init): Get the device master port and connect
>> > std{in,out,err} to the mach console.
>> 
>> That’s a good idea when bootstrapping (I remember doing that to debug
>> the Nix-built GNU/Hurd), but not so much afterwards, no? 
>
> Why not?  It's better if exec can tell us if it has issues later on,
> isn't it?

Sure, but if it writes directly to the Mach console, the output will
mess up, or you could completely miss it (for instance if you log in as
SSH, and start a sub-Hurd from there, and the sub-exec has something to
say.)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]