Merge pull request #82028 from Steelskin/fabrice/line-directive-stop-expanding-response-files

line-directive: Actually stop expanding response files
This commit is contained in:
Joe Groff
2025-06-06 12:52:00 -07:00
committed by GitHub

View File

@@ -680,7 +680,7 @@ def run():
# delegates to the Win32 CreateProcess API. Unix systems handle # delegates to the Win32 CreateProcess API. Unix systems handle
# non-normalized paths, so don't have this problem. # non-normalized paths, so don't have this problem.
# Arguments passed to the process are normalized by the process. # Arguments passed to the process are normalized by the process.
command_args = expand_response_files(sys.argv[dashes + 1:]) command_args = sys.argv[dashes + 1:]
command_args[0] = os.path.normpath(command_args[0]) command_args[0] = os.path.normpath(command_args[0])
try: try: