diff options
Diffstat (limited to 'pkg/gui/gpg.go')
-rw-r--r-- | pkg/gui/gpg.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/gpg.go b/pkg/gui/gpg.go index a469b2a61..60d728c42 100644 --- a/pkg/gui/gpg.go +++ b/pkg/gui/gpg.go @@ -18,7 +18,7 @@ func (gui *Gui) withGpgHandling(cmdObj oscommands.ICmdObj, waitingStatus string, useSubprocess := gui.git.Config.UsingGpg() if useSubprocess { - success, err := gui.runSubprocessWithSuspense(gui.OSCommand.Cmd.NewShell(cmdObj.ToString())) + success, err := gui.runSubprocessWithSuspense(gui.os.Cmd.NewShell(cmdObj.ToString())) if success && onSuccess != nil { if err := onSuccess(); err != nil { return err @@ -36,7 +36,7 @@ func (gui *Gui) withGpgHandling(cmdObj oscommands.ICmdObj, waitingStatus string, func (gui *Gui) RunAndStream(cmdObj oscommands.ICmdObj, waitingStatus string, onSuccess func() error) error { return gui.c.WithWaitingStatus(waitingStatus, func() error { - cmdObj := gui.OSCommand.Cmd.NewShell(cmdObj.ToString()) + cmdObj := gui.os.Cmd.NewShell(cmdObj.ToString()) cmdObj.AddEnvVars("TERM=dumb") cmdWriter := gui.getCmdWriter() cmd := cmdObj.GetCmd() |