# std.process.Child: fix double path normalization in spawnWindows · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/afa66f6111c88cda6bf576367f980f2a84c33116)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: afa66f6111c88cda6bf576367f980f2a84c33116

Requested commit: afa66f6111c88cda6bf576367f980f2a84c33116

Commit: afa66f6111c88cda6bf576367f980f2a84c33116

Tree: 6c589070bf739153c345b451e5284bb8f54f347c

Author: lumanetic

Committer: lumanetic

## Message

```
std.process.Child: fix double path normalization in spawnWindows

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

```

## Parents

- [fc4b7c968afa6fa0780a011f3c8cfeaea38b7b98](https://git.cafe/gitcafe/zig/commit/fc4b7c968afa6fa0780a011f3c8cfeaea38b7b98?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/afa66f6111c88cda6bf576367f980f2a84c33116?format=markdown)
