effect-command-executor

Installation
SKILL.md

Child Process Execution with Effect v4

Targets Effect 4.1.0, checked against the effect@4.1.0 source tag. Keep platform packages on the same version. The process API is marked @stability unstable, so check contracts again before a minor-version upgrade.

Overview

On POSIX, Node process-group cleanup signals the group. Without forceKillAfter, it waits indefinitely for the leader, then gives remaining group members up to one second to exit; it never escalates to SIGKILL. With forceKillAfter, the group is escalated at the configured deadline if needed (even if the leader already exited nonzero), followed by a final wait of up to one second. Native timers drive termination even under TestClock. exitCode / isRunning describe the leader, not all descendants; virtual time alone cannot prove OS cleanup. On Windows, taskkill runs only while the leader is running. Descendants that outlive an already-exited leader are not cleaned up by that path.

The Node adapter handles late stdin/additional-input-descriptor writable errors after process exit; callers should still drain output and handle typed failures inside the scope that owns the process.

Installs
3
GitHub Stars
11
First Seen
Aug 27, 2026