viyatb-oai
c9df641eac
Preserve native sandbox executable paths and PTY dispatch names ( #61910 )
...
## Why
Sandbox helpers with non-UTF-8 paths can lose their exact executable path when converted into command requests. PTY launches with a custom `argv[0]` can also try to execute the dispatch name instead of the configured program.
## What changed
- Carry native executable paths through sandbox requests, local execution, shell snapshots, and sandbox integrity checks.
- Use native Unix PTY spawning when `argv[0]` differs from the executable, preserving the dispatch name and controlling terminal setup.
- Preserve PTY executable lookup through the child environment's `PATH` and fallback to its home directory when the requested working directory is missing.
## Testing
Add regression coverage for non-UTF-8 sandbox helper paths, PTY dispatch names, child `HOME`/`PATH` lookup, controlling terminals, and exit-code preservation.
GitOrigin-RevId: 6a2af0486220d98195f5d67fde2597e3c4515e11
2026-11-16 23:26:42 +00:00
..
2026-09-26 23:17:41 +00:00
2026-11-14 00:32:02 +00:00
2026-11-16 19:28:36 +00:00
2026-10-20 11:48:54 +00:00
2026-09-14 22:31:32 +00:00
2026-11-05 05:09:32 +00:00
2026-07-23 01:00:35 +00:00
2026-07-22 14:16:51 +00:00
2026-09-23 00:49:19 +00:00
2026-10-26 18:05:05 +00:00
2026-08-21 19:04:32 +00:00
2026-08-24 21:39:48 +00:00
2026-11-16 16:38:13 +00:00
2026-08-25 20:37:15 +00:00
2026-08-25 20:37:15 +00:00
2026-09-08 10:18:59 +00:00
2026-11-16 23:26:42 +00:00
2026-08-10 11:22:55 +00:00
2026-11-04 22:20:18 +00:00
2026-09-09 17:45:17 +00:00
2026-11-13 23:04:26 +00:00
2026-10-27 08:06:10 +00:00
2026-11-07 23:51:58 +00:00
2026-11-13 23:04:26 +00:00
2026-11-15 15:25:56 +00:00
2026-11-14 01:54:53 +00:00
2026-06-08 10:20:54 -07:00
2026-09-09 23:59:14 +00:00
2026-09-16 00:54:58 +00:00
2026-07-18 23:22:13 +00:00
2026-08-28 19:12:34 +00:00
2026-11-10 02:45:30 +00:00
2026-10-09 23:16:46 +00:00
2026-11-16 12:03:11 +00:00
2026-08-21 19:04:32 +00:00
2026-03-27 19:00:44 -07:00
2026-05-28 23:09:55 -07:00
2026-03-19 05:24:09 +00:00
2026-11-10 01:28:45 +00:00
2026-06-23 00:43:56 +00:00
2026-10-26 18:20:30 +00:00
2026-10-26 18:20:30 +00:00
2026-11-11 22:30:35 +00:00
2026-10-22 19:36:47 +00:00
2026-11-14 01:54:53 +00:00
2026-09-24 17:04:50 +00:00
2026-09-24 17:04:50 +00:00
2026-08-25 20:37:15 +00:00
2026-11-14 01:54:53 +00:00
2026-10-06 19:51:15 +00:00
2026-11-04 02:00:01 +00:00
2026-11-10 01:28:45 +00:00
2026-10-29 11:23:51 +00:00
2026-11-05 05:09:32 +00:00
2026-11-06 22:27:47 +00:00
2026-11-14 07:09:26 +00:00
2026-11-13 23:04:26 +00:00
2026-11-03 15:02:57 +00:00
2026-09-21 01:19:40 +00:00
2026-10-06 01:46:33 +00:00
2026-10-30 16:09:46 +00:00
2026-10-29 10:34:17 +00:00
2026-10-28 06:22:58 +00:00
2026-10-30 14:40:32 +00:00
2026-10-07 23:19:26 +00:00
2026-11-14 01:54:53 +00:00
2026-11-16 19:28:36 +00:00
2026-10-23 18:39:28 +00:00
2026-02-27 12:45:59 -08:00
2026-08-11 10:43:11 +00:00
2026-10-26 18:05:05 +00:00
2026-10-26 17:56:43 +00:00
2026-10-22 19:36:47 +00:00
2026-10-20 03:09:44 +00:00
2026-11-14 00:32:02 +00:00
2026-11-16 16:38:13 +00:00
2026-10-28 16:55:57 +00:00
2026-10-21 01:49:26 +00:00
2026-10-21 01:49:26 +00:00
2026-10-27 17:04:16 +00:00
2026-10-27 17:04:16 +00:00
2026-09-01 00:30:55 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-13 04:51:06 +00:00
2026-09-07 18:43:20 +00:00
2026-09-07 18:43:20 +00:00
2026-09-08 05:57:24 +00:00
2026-11-12 00:44:27 +00:00
2026-09-08 21:48:53 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 04:51:06 +00:00
2026-10-07 19:28:14 +00:00
2026-10-07 19:28:14 +00:00
2026-11-12 00:44:27 +00:00
2026-11-12 00:44:27 +00:00
2026-11-12 00:44:27 +00:00
2026-11-12 00:44:27 +00:00