app/run: empty launcher environment
The launcher process should not receive the child's environment. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
396066de7b
commit
52f986559c
@ -62,7 +62,7 @@ func (a *App) Run() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cmd := exec.Command(toolPath, commandBuilder()...)
|
cmd := exec.Command(toolPath, commandBuilder()...)
|
||||||
cmd.Env = a.env
|
cmd.Env = []string{}
|
||||||
cmd.Stdin = os.Stdin
|
cmd.Stdin = os.Stdin
|
||||||
cmd.Stdout = os.Stdout
|
cmd.Stdout = os.Stdout
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
|
Loading…
Reference in New Issue
Block a user