GNU bug report logs -
#30460
27.0.50; `process-command' of a stopped process is t
Previous Next
Reported by: p.stephani2 <at> gmail.com
Date: Wed, 14 Feb 2018 22:01:02 UTC
Severity: normal
Found in version 27.0.50
Done: Philipp Stephani <p.stephani2 <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Am Sa., 17. Feb. 2018 um 14:25 Uhr schrieb Eli Zaretskii <eliz <at> gnu.org>:
>
> > Date: Wed, 14 Feb 2018 23:00:26 +0100
> > From: p.stephani2 <at> gmail.com
> >
> >
> > (process-command
> > (make-process :name "sleep" :command '("sleep" "1h") :stop t))
> >
> > returns t.
> >
> > This is not documented (the docstring and the manual say that this
> > should only happen for a pipe, network, or serial connection), and
> > breaks M-x list-processes, which assumes that the return value of
> > `process-command' is a list for an ordinary process.
>
> ":stop t" currently has no effect on a "real" process running a
> command, because it is not generally possible to start a process in a
> stopped state. So it's a Good Thing list-processes fails for such
> bogus "processes" ;-)
>
> We could fix this by either ignoring :stop in make-process, or by
> signaling an error.
I prefer the second option for clarity and will send a patch in a moment.
This bug report was last modified 6 years and 35 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.