Show More
@@ -372,6 +372,10 b' class IPTester(object):' | |||||
372 | # reliably in win32. |
|
372 | # reliably in win32. | |
373 | # What types of problems are you having. They may be related to |
|
373 | # What types of problems are you having. They may be related to | |
374 | # running Python in unboffered mode. BG. |
|
374 | # running Python in unboffered mode. BG. | |
|
375 | for ndx, arg in enumerate(self.call_args): | |||
|
376 | # Enclose in quotes if necessary and legal | |||
|
377 | if ' ' in arg and os.path.isfile(arg) and arg[0] != '"': | |||
|
378 | self.call_args[ndx] = '"%s"' % arg | |||
375 | return os.system(' '.join(self.call_args)) |
|
379 | return os.system(' '.join(self.call_args)) | |
376 | else: |
|
380 | else: | |
377 | def _run_cmd(self): |
|
381 | def _run_cmd(self): |
General Comments 0
You need to be logged in to leave comments.
Login now