GNU bug report logs - #33050
27.0.50; [macOS] Problem with process input with process-connection-type nil

Previous Next

Package: emacs;

Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>

Date: Mon, 15 Oct 2018 19:04:02 UTC

Severity: normal

Found in version 27.0.50

Done: Filipp Gunbin <fgunbin <at> fastmail.fm>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 33050 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Filipp Gunbin <fgunbin <at> fastmail.fm>
Cc: 33050 <at> debbugs.gnu.org, fitzsim <at> fitzsim.org
Subject: Re: bug#33050: 27.0.50;
 [macOS] Problem with process input with process-connection-type nil
Date: Thu, 25 Oct 2018 19:24:53 +0300
> From: Filipp Gunbin <fgunbin <at> fastmail.fm>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  33050 <at> debbugs.gnu.org
> Date: Thu, 25 Oct 2018 18:51:17 +0300
> 
> With process-connection-type nil, we call vfork() and then setsid()
> apparently fails (at least to reset child's controlling terminal).
> 
> I tried to change the above to just use fork(), and got the correct
> behavior.
> 
> If only I knew how to fix this correctly, without reverting to fork()
> :-) Does anyone have ideas?  I'll try to look into this further myself,
> and will write back.

I'm probably missing something: why are you still trying to find a
solution, when one was already found?  What's wrong with setting
process-connection-type non-nil in this case, at least for Darwin?




This bug report was last modified 6 years and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.