parseWindowsBreakawayLaunchReport (shared/windows-breakaway-launch.ts)

orca · src/shared/windows-breakaway-launch.ts · typescript · MIT
infra, tag:knn-classified

Parses Windows launch report lines into structured objects for use by launch scripts.

// Source: https://github.com/stablyai/orca | License: MIT | Copyright 2026 Lovecast Inc
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * The contract between a Windows launch script (main) and the one-shot launcher mode that
 * `relay.js` and `orcad.js` both expose to start a detached process outside the SSH session's
 * job object. The flags are shared; each program names its own args separator and report marker.
 */

export const WINDOWS_BREAKAWAY_LAUNCH_FLAG = '--windows-breakaway-launch'
export const WINDOWS_BREAKAWAY_STDOUT_FLAG = '--stdout-file'
export const WINDOWS_BREAKAWAY_STDERR_FLAG = '--stderr-file'
/** Optional: where to record the launched PID and its creation time as JSON. */
export const WINDOWS_BREAKAWAY_PROCESS_FILE_FLAG = '--process-file'
/** Opti

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key