65 args = args[:] |
65 args = args[:] |
66 ok = isPythonProgram(args[0]) |
66 ok = isPythonProgram(args[0]) |
67 if ok: |
67 if ok: |
68 scriptName = os.path.basename(args[0]) |
68 scriptName = os.path.basename(args[0]) |
69 if not _debugClient.skipMultiProcessDebugging(scriptName): |
69 if not _debugClient.skipMultiProcessDebugging(scriptName): |
70 args = patchArguments( |
70 args = patchArguments(_debugClient, args, noRedirect=True) |
71 _debugClient, args, noRedirect=True |
|
72 ) |
|
73 if "shell" in kwargs and kwargs["shell"] is True: |
71 if "shell" in kwargs and kwargs["shell"] is True: |
74 # shell=True interferes with eric debugger |
72 # shell=True interferes with eric debugger |
75 kwargs["shell"] = False |
73 kwargs["shell"] = False |
76 |
74 |
77 super().__init__(args, *popenargs, **kwargs) |
75 super().__init__(args, *popenargs, **kwargs) |