eric6/DebugClients/Python/QProcessExtension.py

changeset 7901
6ff7ccf0cb50
parent 7424
9bb7d8b0f966
child 7906
0af028b93cb3
equal deleted inserted replaced
7900:72b88fb20261 7901:6ff7ccf0cb50
82 if ok: 82 if ok:
83 if startsWithShebang(program): 83 if startsWithShebang(program):
84 scriptName = os.path.basename(program) 84 scriptName = os.path.basename(program)
85 else: 85 else:
86 scriptName = os.path.basename(arguments[0]) 86 scriptName = os.path.basename(arguments[0])
87 if scriptName not in _debugClient.noDebugList: 87 if not _debugClient.skipMultiProcessDebugging(scriptName):
88 newArgs = patchArguments( 88 newArgs = patchArguments(
89 _debugClient, 89 _debugClient,
90 [program] + arguments, 90 [program] + arguments,
91 ) 91 )
92 super(QProcessWrapper, self).start( 92 super(QProcessWrapper, self).start(
182 if ok: 182 if ok:
183 if startsWithShebang(program): 183 if startsWithShebang(program):
184 scriptName = os.path.basename(program) 184 scriptName = os.path.basename(program)
185 else: 185 else:
186 scriptName = os.path.basename(arguments[0]) 186 scriptName = os.path.basename(arguments[0])
187 if scriptName not in _debugClient.noDebugList: 187 if not _debugClient.skipMultiProcessDebugging(scriptName):
188 newArgs = patchArguments( 188 newArgs = patchArguments(
189 _debugClient, 189 _debugClient,
190 [program] + arguments, 190 [program] + arguments,
191 ) 191 )
192 return QProcessWrapper._origQProcessStartDetached( 192 return QProcessWrapper._origQProcessStartDetached(

eric ide

mercurial