diff options
author | Emanuele "Lele" Calo <emanuele.lele.calo@gmail.com> | 2024-04-07 02:07:30 +0200 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-04-09 09:08:14 +0200 |
commit | a63c660f28a1fe8d40cf18966a6550028a2e3d10 (patch) | |
tree | a957c7b88f19de13b0ba94af0421bb6c2fcec87b | |
parent | fab7ca2b58e9d4c60847f7a6d67e2124db9e94c4 (diff) |
Fix stderr redirection
Seems that there's a problem in the Stdout/Stderr/Stdin vars
assignments, probably copy-paste issue.
-rw-r--r-- | pkg/gui/gui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index a4579bc8c..8a17bb2c2 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -813,7 +813,7 @@ func (gui *Gui) runSubprocess(cmdObj oscommands.ICmdObj) error { //nolint:unpara subprocess := cmdObj.GetCmd() subprocess.Stdout = os.Stdout - subprocess.Stderr = os.Stdout + subprocess.Stderr = os.Stderr subprocess.Stdin = os.Stdin fmt.Fprintf(os.Stdout, "\n%s\n\n", style.FgBlue.Sprint("+ "+strings.Join(subprocess.Args, " "))) |