Changeset 3643
- Timestamp:
- May 10, 2013, 8:53:33 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/python/Rappture/tools.py
r3184 r3643 38 38 close_fds=True) 39 39 else: 40 commandArgs = shlex.split(command) 40 try: 41 commandStr = str(command) 42 except UnicodeEncodeError: 43 commandStr = unicode(command).encode('unicode_escape') 44 commandArgs = shlex.split(commandStr) 41 45 child = subprocess.Popen(commandArgs,bufsize=BUFSIZ, \ 42 46 stdout=subprocess.PIPE, \
Note: See TracChangeset
for help on using the changeset viewer.