src/eric7/DebugClients/Python/SubprocessExtension.py

branch
eric7
changeset 10634
d6d31f4834b0
parent 10627
40b3df5b933a
child 11088
0299c9ba1c6f
equal deleted inserted replaced
10628:6968d6c31b3e 10634:d6d31f4834b0
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