pstramp 0.1.0

Process spawn trampoline for session/terminal setup and responsibility disclaiming
pstramp-0.1.0 is not a library.

pstramp — process spawn trampoline (no_std, macOS-only).

Lightweight helper for process isolation. Performs optional session and controlling-terminal setup, then exec()s into the requested command.

Usage

pstramp [-setctty] [-disclaim] -- command [args...]

Flags

  • -setctty — Create a new session (setsid) and claim stdin as the controlling terminal (TIOCSCTTY).
  • -disclaim — Use posix_spawn with POSIX_SPAWN_DISCLAIM to relinquish the parent's responsibility claims.