Skip to content

process_run/v1.4.2

@alextekartik alextekartik tagged this 03 Nov 18:14
A child program to kill (lib/child/child.dart, compileChild()): waits,
starts a chain of descendants (--depth), writes `ready <pid>` once its tree
is started, exits with explicit codes on the signals it catches
(--sigterm-exit-code, --sigint-exit-code) or ignores sigterm
(--ignore-sigterm). test/child_test.dart checks Shell.kill() and
ShellProcesses with it: the exit codes (sigkill cannot be caught: -9) and
the processes of the tree gone.

compileEcho() and compileChild() share compileTestExecutable(): the calls
are serialized (concurrent calls compile once), an existing executable is
checked once per process with --version and rebuilt on a version change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Mtk7qJpozBUTE19eCrEKW
Assets 2
Loading