# coff: use copy in zig-cache for child process in HCS · gitcafe/zig

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

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

Visibility: public

Requested revision: 22e1b033607580756329879ba7158a29aca57981

Requested commit: 22e1b033607580756329879ba7158a29aca57981

Commit: 22e1b033607580756329879ba7158a29aca57981

Tree: d7f8a911014b64418e7a4058735c4c430f748893

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
coff: use copy in zig-cache for child process in HCS

Ideally, we would just do an atomic rename, but so far I had no
luck. I have also tried marking the file to delete-on-close but
then we cannot use it to spawn the process. So for now, let's just
put a copy in `zig-cache` and let the user decide when to recycle
the cache dir.

```

## Parents

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

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