47 _debugClient.multiprocessSupport and |
50 _debugClient.multiprocessSupport and |
48 isinstance(arguments, (str, list)) |
51 isinstance(arguments, (str, list)) |
49 ): |
52 ): |
50 if isinstance(arguments, str): |
53 if isinstance(arguments, str): |
51 # convert to arguments list |
54 # convert to arguments list |
52 arguments = shlex.split(arguments) |
55 arguments = ( |
|
56 stringToArgumentsWindows(arguments) |
|
57 if isWindowsPlatform() else |
|
58 shlex.split(arguments) |
|
59 ) |
53 else: |
60 else: |
54 # create a copy of the arguments |
61 # create a copy of the arguments |
55 arguments = arguments[:] |
62 arguments = arguments[:] |
56 ok = isPythonProgram(arguments[0]) |
63 ok = isPythonProgram(arguments[0]) |
57 if ok: |
64 if ok: |