summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-10-30 11:19:11 +0000
committerLars Wirzenius <liw@liw.fi>2013-10-30 11:19:11 +0000
commit39f4217b61567556ae2dfa936a07e797bbd997e1 (patch)
tree9617355f3a6e336fbc1d8828b79831d0907ce3b7
parent97755806efc52658a8eef434f3510fcc9e75d0b7 (diff)
parent0a1d06d6ecea1c6ebda980fb91339fe0363ff52f (diff)
downloadjt-39f4217b61567556ae2dfa936a07e797bbd997e1.tar.gz
Merge remote-tracking branch 'origin/kinnison/editor'
This is useful to get terminal editors to work.
-rwxr-xr-xjt2
1 files changed, 1 insertions, 1 deletions
diff --git a/jt b/jt
index 0df63bd..300a02d 100755
--- a/jt
+++ b/jt
@@ -116,7 +116,7 @@ class JournalTool(cliapp.Application):
def edit_file(self, pathname):
safe_pathname = cliapp.shell_quote(pathname)
cmdline = ['sh', '-c', self.settings['editor'] % pathname]
- self.runcmd(cmdline)
+ self.runcmd(cmdline, stdin=None, stdout=None, stderr=None)
def cmd_list(self, args):
'''List journal entry drafts.'''