Files
CMake/Tests/RunCMake/execute_process/StdinNoexist.cmake
Kyle Edwards 35f031e3b2 execute_process(): Restore opening files relative to WORKING_DIRECTORY
Prior to 5420639a, execute_process() would open INPUT_FILE, OUTPUT_FILE,
and ERROR_FILE relative to the WORKING_DIRECTORY argument if it was
provided. Restore this behavior for backwards compatibility.

Fixes: #25338
2023-10-16 12:23:41 -04:00

2 lines
79 B
CMake

execute_process(COMMAND ${CMAKE_COMMAND} -E true INPUT_FILE noexist/input.txt)