# test\(server\): keep the fake Claude probe's cwd out of the scoped temp dir · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/81701181474409b87d8050f2836f60bcd152d3cd)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 81701181474409b87d8050f2836f60bcd152d3cd

Requested commit: 81701181474409b87d8050f2836f60bcd152d3cd

Commit: 81701181474409b87d8050f2836f60bcd152d3cd

Tree: bfb8fa5a300f02c95855148467c7c87e7c5759b4

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
test(server): keep the fake Claude probe's cwd out of the scoped temp dir

The capabilities probe aborts the SDK query without waiting for the child
to exit, and on Windows a directory that is still some process's cwd cannot
be removed, so the scoped temp directory's rmdir hit EBUSY. Give the fake
CLI's workspace its own directory whose removal retries until the child has
gone.

Co-Authored-By: Claude Code <noreply@anthropic.com>

```

## Parents

- [af43ec9288c60f8309c7a38bd31d57117ac3a95d](https://git.cafe/pingdotgg/t3code/commit/af43ec9288c60f8309c7a38bd31d57117ac3a95d?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/81701181474409b87d8050f2836f60bcd152d3cd?format=markdown)
