Commit Graph

6 Commits

Author SHA1 Message Date
edi-oai 721b111c0c
Exec as user, out-of-band signalling, and stdin closure when the request stream ends (#58)
* Support running exec commands as a selected user

* Move exec signaling out of band

* Close standard input when the exec request stream ends
2026-08-10 23:23:07 +01:00
edi-oai d4ebcbde41
Emit an explicit "Started" message and support sending signals (#56)
* Emit an explicit "Started" message and support sending signals

Co-authored-by: Fedor Korotkov <fkorotkov@openai.com>

* Run exec commands in dedicated process groups

* Disable wsl_v5 linter

* Clean up exec processes on stream failures

* Fix gosec linter error

* Wrap exec signals in a message

---------

Co-authored-by: Fedor Korotkov <fkorotkov@openai.com>
2026-08-10 21:08:27 +01:00
Fedor Kororkov e22f6fbeef
Add more options to `exec` (#47) 2026-05-04 15:36:20 -04:00
Nikolay Edigaryev 7262299ff0
Support Linux (#17) 2025-07-28 20:15:12 +04:00
Nikolay Edigaryev 50b54ac5c9
tart exec support: fix StdoutPipe() and StderrPipe() usage (#13) 2025-06-12 00:08:13 +04:00
Nikolay Edigaryev 9fac15bc9a
"tart exec" support (--run-rpc) and component groups (e.g. --run-daemon) (#10)
* "tart exec" support (--run-rpc) and component groups (e.g. --run-daemon)

* CI: check for lacking "buf generate" invocation

* CI: a task to run "buf push"

* defer ptmx.Close()

* Use getpeername(2) to get AF_VSOCK peer's identity

* Only call ptmx.Close() when pty.StartWithSize() succeeded
2025-05-19 18:53:16 +04:00