create process group for shell-pipe and shell-async (#753)
This commit is contained in:
1 parent
3e3a4a6386
commit
c5bd676c3a
6 files changed
+47
-14
No files matched your search
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user