summaryrefslogtreecommitdiff
path: root/doInteract.go
diff options
context:
space:
mode:
Diffstat (limited to 'doInteract.go')
-rw-r--r--doInteract.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doInteract.go b/doInteract.go
index f99b3d9..53830a1 100644
--- a/doInteract.go
+++ b/doInteract.go
@@ -64,7 +64,7 @@ func doEditorOnce() (string, error) {
}
// Run the editor
- cmd := exec.Command(editor, tmpPath)
+ cmd := exec.Command("bash", "-i", "-c", editor+" "+tmpPath)
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr