diff options
-rw-r--r-- | pkg/commands/os.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go index a9a5947d9..375a8e77e 100644 --- a/pkg/commands/os.go +++ b/pkg/commands/os.go @@ -326,7 +326,7 @@ func (c *OSCommand) GetLazygitPath() string { if err != nil { ex = os.Args[0] // fallback to the first call argument if needed } - return filepath.ToSlash(ex) + return `"` + filepath.ToSlash(ex) + `"` } // RunCustomCommand returns the pointer to a custom command |