From 2fadb864051f5afc062606a898d821b702a1692c Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 20 Nov 2026 04:16:02 -0300 Subject: launch: `pardes new --detach[=NAME]` forks the session off and returns once it is registered and listening (the last-step design's Z1, 2.2 F's second half): exit 0 and the name on stdout, the session in a session of its own (setsid, stdin /dev/null, its stdout and stderr the launch's until it runs, so a failed start still says why there and its status is the launch's), by the stub's own wait with one word more (`r`, daemon.zig `launch`/`launched`, told from the session loop after its frontend's start); the flag alone (`pardes --detach=NAME`, what every harness and a supervisor runs) is still the session itself; test/daemon.py `launch` (plain and `--launch`) failing first on the base (not returned after 15 s: the launch was the session), then 0.12-0.22 s; help new and docs/typ/command-line.txt say so Co-Authored-By: Claude Opus Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- docs/typ/command-line.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/typ') diff --git a/docs/typ/command-line.txt b/docs/typ/command-line.txt index 3c73fed4..0ced145f 100644 --- a/docs/typ/command-line.txt +++ b/docs/typ/command-line.txt @@ -95,8 +95,10 @@ See also: ps, attach Start a session here, even in a pane of another: in this terminal for pardes, a window for pardes-gui, or with --detach none until one -attaches. Bare `pardes` takes the same flags, and starts one unless -it is in a pane (where it hands its FILE to that session). +attaches, which returns once the session runs and prints its name. +Bare `pardes` takes the same flags, and starts one unless it is in a +pane (where it hands its FILE to that session); its --detach is the +session itself, until it ends (a supervisor's way). Usage: pardes new [flags] [FILE] -- cgit v1.3