aboutsummaryrefslogtreecommitdiff
path: root/test/standalone/windows_spawn/main.zig
AgeCommit message (Collapse)Author
2025-10-29update standalone tests for ws2_32 dependencyAndrew Kelley
2025-10-14windows: workaround kernel race condition in more placesJacob Young
2025-10-12windows: workaround kernel race condition the mostJacob Young
2025-10-11windows: workaround kernel race condition even moreJacob Young
2025-10-11windows: workaround kernel race condition betterJacob Young
Until I can do more testing, we bump the numbers until morale improves.
2025-10-10windows: workaround kernel race conditionJacob Young
This was causing flaky CI failures.
2025-07-26std.process.Child: fix double path normalization in spawnWindowslumanetic
besides simply being redundant work, the now removed normalize call would cause spawn to errantly fail (BadPath) when passing a relative path which traversed 'above' the current working directory. This case is already handled by leaving normalization to the windows.wToPrefixedFileW call in windowsCreateProcessPathExt
2025-04-15Return FileNotFound when CreateProcessW is called with a missing path (#23567)phatchman
2024-09-12Replace deprecated default initializations with decl literalsLinus Groh
2024-05-26std: restructure child process namespaceAndrew Kelley
2024-05-03Rename Dir.writeFile2 -> Dir.writeFile and update all callsitesRyan Liptak
writeFile was deprecated in favor of writeFile2 in f645022d16361865e24582d28f1e62312fbc73bb. This commit renames writeFile2 to writeFile and makes writeFile2 a compile error.
2024-03-19fix compilation failures found by CIAndrew Kelley
2024-02-24Update deprecated `std.unicode` function usagesRyan Liptak
2023-11-19test: update remaining code to fix 'var is never mutated' errorsmlugg
2023-10-22child_process + Build: rename exec to run + all related codeJan Philipp Hafer
Justification: exec, execv etc are unix concepts and portable version should be called differently. Do no touch non-Zig code. Adjust error names as well, if associated. Closes #5853.
2023-04-27test: Fix windows_spawn tmp directory cleanupxEgoist
On Windows, a directory that's set as the current working directory is not allowed to be removed. This can cause error on `deleteTree` if the CWD is set to the file to be removed and will cause `error.FileBusy`. However, due to `tmp.cleanup()` ignoring the errors, the folder removal error will be ignored. The only test violating this is `windows_spawn`. As a solution, setting the parent directory to be the CWD before deletion will allow the cleanup to pass.
2023-04-22std: GPA deinit return an enum instead of a boolBorja Clemente
2022-12-19spawnWindows: Fix PATH searching when cwd is absoluteRyan Liptak
Fixes a regression caused by https://github.com/ziglang/zig/pull/13983 From the added comment: We still search the path if the cwd is absolute because of the "cwd set in ChildProcess is in effect when choosing the executable path to match posix semantics" behavior--we don't want to skip searching the PATH just because we were trying to set the cwd of the child process.
2022-12-18standalone tests: Add windows spawn testRyan Liptak
Tests a decent amount of edge cases dealing with how PATH and PATHEXT searching is handled.