Changeset 3184 for trunk/lang
- Timestamp:
- Oct 17, 2012, 11:13:03 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/python/Rappture/tools.py
r3177 r3184 11 11 import re 12 12 import subprocess 13 import shlex 13 14 import select 14 15 import signal … … 37 38 close_fds=True) 38 39 else: 39 child = subprocess.Popen(command,shell=True,bufsize=BUFSIZ, \ 40 commandArgs = shlex.split(command) 41 child = subprocess.Popen(commandArgs,bufsize=BUFSIZ, \ 40 42 stdout=subprocess.PIPE, \ 41 43 stderr=subprocess.PIPE, \ … … 120 122 else: 121 123 raise RuntimeError, 'could not open %s for writing' % (fileName) 124
Note: See TracChangeset
for help on using the changeset viewer.