Get terminal tool working in evals (#29831)

Bypass our terminal subsystem and just run a shell in a pty.

- [x] make sure we use the same working directory
- [x] strip control chars from the pty output (?)
- [x] tests

Release Notes:

- N/A
b404024c7aCole Miller committed on 5/5/2025, 12:07:43 PM· committed by GitHubparentce053c9
5 files changedLine totals unavailable