# std.process.Child: remove pid and handle, add id · gitcafe/zig

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

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

Visibility: public

Requested revision: aaaaab9ec2d5d6a4c1ed2b7171bd6f599f7a31ce

Requested commit: aaaaab9ec2d5d6a4c1ed2b7171bd6f599f7a31ce

Commit: aaaaab9ec2d5d6a4c1ed2b7171bd6f599f7a31ce

Tree: 44e5ee62a4b653e4b1bdb4621f4ec490b9b3bad3

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.process.Child: remove pid and handle, add id

Previously, this API had pid, to be used on POSIX systems, and handle,
to be used on Windows.

This commit unifies the API, defining an Id type that is either the pid
or the HANDLE depending on the target OS.

This commit also prepares for the future by allowing one to import via
`std.process.Child` which is the fully qualified namespace that I intend
to migrate to in the future.

```

## Parents

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

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