eric6/DebugClients/Python/DebugUtilities.py

branch
multi_processing
changeset 7422
9a008ab4811b
parent 7421
4a9900aef04e
child 7646
39e3db2b4936
equal deleted inserted replaced
7421:4a9900aef04e 7422:9a008ab4811b
240 @param noRedirect flag indicating to not redirect stdin and stdout 240 @param noRedirect flag indicating to not redirect stdin and stdout
241 @type bool 241 @type bool
242 @return modified argument list 242 @return modified argument list
243 @rtype list of str 243 @rtype list of str
244 """ 244 """
245 args = arguments[:] # create a copy of the arguments list 245 args = list(arguments[:]) # create a copy of the arguments list
246 246
247 # support for shebang line 247 # support for shebang line
248 program = os.path.basename(args[0]).lower() 248 program = os.path.basename(args[0]).lower()
249 for pyname in PYTHON_NAMES: 249 for pyname in PYTHON_NAMES:
250 if pyname in program: 250 if pyname in program:

eric ide

mercurial