coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

the new_ucmd! macro drops environment variables, causing mktemp test failure on windows.

Open zhw2101024 opened this issue 7 months ago • 0 comments

mktemp with empty tmpdir parameter will use env::temp_dir to get the default temp directory, which need to be read from environment variables on windows, otherwise it will try to use "C:\Windows\" which is inaccessible to non-SYSTEM processes. See following links: rust-doc winapi

zhw2101024 avatar Apr 28 '25 07:04 zhw2101024