Preparing search index...
        const { spawnSync, ExitStatus } = await import('LensStudio:Subprocess');

    // Run a real process and inspect its ExitStatus
    const result = spawnSync('echo', ['hello'], {} as any);
    console.log('exitCode:', result.exitCode);

    // ExitStatus enum values
    console.log('NormalExit:', ExitStatus.NormalExit);
    console.log('CrashExit:', ExitStatus.CrashExit);
    Index

    Enumeration Members

    Enumeration Members

    CrashExit: number

    The process exited due to a crash.

    NormalExit: number

    The process exited normally.