[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17036: Continuation for Emacs: invoking a process on exit?
From: |
Eli Zaretskii |
Subject: |
bug#17036: Continuation for Emacs: invoking a process on exit? |
Date: |
Sun, 17 Apr 2022 17:29:20 +0300 |
> Date: Sun, 17 Apr 2022 15:34:55 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: rgm@gnu.org, 17036@debbugs.gnu.org, schwab@linux-m68k.org, rrt@sc3d.org
>
> > From: Lars Ingebrigtsen <larsi@gnus.org>
> > Cc: rgm@gnu.org, 17036@debbugs.gnu.org, schwab@linux-m68k.org,
> > rrt@sc3d.org
> > Date: Sun, 17 Apr 2022 14:08:49 +0200
> >
> > Eli Zaretskii <eliz@gnu.org> writes:
> >
> > > As implemented, it won't work reliably on MS-Windows, because execvp
> > > there doesn't do what you think it should. I think we should use
> > > sys_spawnve instead.
> >
> > Ah, I grepped for execvp to see whether we already used it, but didn't
> > notice that the hits were from Gnulib.
> >
> > I'm not familiar with sys_spawnve -- can you do the adjustments?
>
> I don't think I will have the time. It isn't a simple job, because
> just calling sys_spawnve will not do -- that function currently
> supports only Emacs sub-processes.
I eventually had an implementation idea that is much simpler than the
above, so I went ahead and implemented it. It currently doesn't work
in a -nw session, I hope to debug that later.
- bug#17036: Continuation for Emacs: invoking a process on exit?, (continued)
- bug#17036: Continuation for Emacs: invoking a process on exit?, Lars Ingebrigtsen, 2022/04/17
- bug#17036: Continuation for Emacs: invoking a process on exit?, Lars Ingebrigtsen, 2022/04/17
- bug#17036: Continuation for Emacs: invoking a process on exit?, Eli Zaretskii, 2022/04/17
- bug#17036: Continuation for Emacs: invoking a process on exit?, Lars Ingebrigtsen, 2022/04/17
- bug#17036: Continuation for Emacs: invoking a process on exit?, Eli Zaretskii, 2022/04/17
- bug#17036: Continuation for Emacs: invoking a process on exit?, Lars Ingebrigtsen, 2022/04/18
- bug#17036: Continuation for Emacs: invoking a process on exit?, Eli Zaretskii, 2022/04/18
- bug#17036: Continuation for Emacs: invoking a process on exit?,
Eli Zaretskii <=
- bug#17036: Continuation for Emacs: invoking a process on exit?, Eli Zaretskii, 2022/04/17
- bug#17036: Continuation for Emacs: invoking a process on exit?, Lars Ingebrigtsen, 2022/04/17
- bug#17036: Continuation for Emacs: invoking a process on exit?, Eli Zaretskii, 2022/04/17
- bug#17036: Continuation for Emacs: invoking a process on exit?, Lars Ingebrigtsen, 2022/04/18