Index: git_cl/git_cl.py |
=================================================================== |
--- git_cl/git_cl.py (revision 77927) |
+++ git_cl/git_cl.py (working copy) |
@@ -710,8 +710,9 @@ |
fileobj.write(starting_text) |
fileobj.close() |
+ result = None |
try: |
- subprocess.check_call(['env', editor, filename]) |
+ subprocess.check_call(['env', editor, filename], shell=True) |
fileobj = open(filename) |
result = fileobj.read() |
fileobj.close() |