create process group for shell-pipe and shell-async (#753)

This commit is contained in:
Christian Zangl authored and GitHub committed 2022-02-13 23:39:49 +03:00
1 parent 3e3a4a6386
commit c5bd676c3a
6 files changed
+47 -14

No files matched your search

+2
View File
@@ -483,6 +483,7 @@ func (app *app) runShell(s string, args []string, prefix string) {
err = cmd.Run()
case "%":
shellSetPG(cmd)
if app.ui.cmdPrefix == ">" {
return
}
@@ -499,6 +500,7 @@ func (app *app) runShell(s string, args []string, prefix string) {
cmd.Stderr = cmd.Stdout
fallthrough
case "&":
shellSetPG(cmd)
err = cmd.Start()
}