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:
Ophestra Umiker 2024-09-09 22:24:58 +09:00
parent 396066de7b
commit 52f986559c
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func (a *App) Run() {
}
cmd := exec.Command(toolPath, commandBuilder()...)
cmd.Env = a.env
cmd.Env = []string{}
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr