373 ] |
373 ] |
374 ) |
374 ) |
375 |
375 |
376 if wd: |
376 if wd: |
377 modifiedArguments.extend(["-w", wd]) |
377 modifiedArguments.extend(["-w", wd]) |
378 if not exceptions: |
|
379 modifiedArguments.append("-e") |
|
380 if tracePython: |
378 if tracePython: |
381 modifiedArguments.append("-t") |
379 modifiedArguments.append("-t") |
382 if noRedirect or not redirect: |
380 if noRedirect or not redirect: |
383 modifiedArguments.append("-n") |
381 modifiedArguments.append("-n") |
384 if noencoding: |
382 if noencoding: |
385 modifiedArguments.append("--no-encoding") |
383 modifiedArguments.append("--no-encoding") |
386 if debugClient.multiprocessSupport: |
384 if debugClient.multiprocessSupport: |
387 modifiedArguments.append("--multiprocess") |
385 modifiedArguments.append("--multiprocess") |
|
386 if reportAllExceptions: |
|
387 modifiedArguments.append("--report-exceptions") |
388 if hasCode: |
388 if hasCode: |
389 modifiedArguments.append("--code") |
389 modifiedArguments.append("--code") |
390 modifiedArguments.append(args.pop(0)) |
390 modifiedArguments.append(args.pop(0)) |
391 if hasScriptModule: |
391 if hasScriptModule: |
392 modifiedArguments.append("--module") |
392 modifiedArguments.append("--module") |