src/eric7/DebugClients/Python/SubprocessExtension.py

branch
server
changeset 10633
dda7e43934dc
parent 10627
40b3df5b933a
child 11088
0299c9ba1c6f
equal deleted inserted replaced
10632:1109854f15f9 10633:dda7e43934dc
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)

eric ide

mercurial