293 @param noRedirect flag indicating to not redirect stdin and stdout |
293 @param noRedirect flag indicating to not redirect stdin and stdout |
294 @type bool |
294 @type bool |
295 @return modified argument list |
295 @return modified argument list |
296 @rtype list of str |
296 @rtype list of str |
297 """ |
297 """ |
|
298 if not isPythonProgram(arguments[0]): |
|
299 # it is not a Python program |
|
300 return arguments |
|
301 |
298 debugClientScript = os.path.join(os.path.dirname(__file__), "DebugClient.py") |
302 debugClientScript = os.path.join(os.path.dirname(__file__), "DebugClient.py") |
299 if debugClientScript in arguments: |
303 if debugClientScript in arguments: |
300 # it is already patched |
304 # it is already patched |
301 return arguments |
305 return arguments |
302 |
306 |