El dom, 27 jun 2021 a las 6:33, Laurent Bercot (<ska-skaware_at_skarnet.org>)
escribió:
> execline was not designed to handle interactive scripts: you need
> some extra tooling in the presence of job control.
>
Isn't job control the task of commands such as `foreground` and
`background`?
Is your opinion that this modified foreground is outside the scope of
execline,
ant thus there should it be a toolset for job control?
To achieve that, replace "foreground { editor ${file} }" with
> "foreground { s6-setsid -g editor ${file} }".
>
Thanks, this is half the answer, now the editor receives the signals,
the other half of the answer is spwaning the next process
when the editor exits.
As of now, on the terminal one needs to use `fg` to continue the process.
Received on Sun Jun 27 2021 - 19:42:17 CEST