Chromium Code Reviews| Index: gcl.py |
| =================================================================== |
| --- gcl.py (revision 77893) |
| +++ gcl.py (working copy) |
| @@ -1064,7 +1064,7 @@ |
| os.close(handle) |
| if not silent: |
| - os.system(GetEditor() + " " + filename) |
| + subprocess.call(['env', GetEditor(), filename], shell=True) |
|
M-A Ruel
2011/03/12 00:34:13
While at it, use check_call(), and use tempfile.Na
|
| result = gclient_utils.FileRead(filename, 'r') |
| os.remove(filename) |