56 # create a copy of the arguments |
56 # create a copy of the arguments |
57 arguments = arguments[:] |
57 arguments = arguments[:] |
58 ok = isPythonProgram(arguments[0]) |
58 ok = isPythonProgram(arguments[0]) |
59 if ok: |
59 if ok: |
60 scriptName = os.path.basename(arguments[0]) |
60 scriptName = os.path.basename(arguments[0]) |
61 if scriptName not in _debugClient.noDebugList: |
61 if not _debugClient.skipMultiProcessDebugging(scriptName): |
62 arguments = patchArguments( |
62 arguments = patchArguments( |
63 _debugClient, arguments, noRedirect=True |
63 _debugClient, arguments, noRedirect=True |
64 ) |
64 ) |
65 |
65 |
66 super(PopenWrapper, self).__init__(arguments, *args, **kwargs) |
66 super(PopenWrapper, self).__init__(arguments, *args, **kwargs) |