@kaguyajs/trss-yunzai-types
    Preparing search index...

    Interface CmdStartOptions

    interface CmdStartOptions {
        argv0?: string;
        cwd?: string | URL;
        detached?: boolean;
        env?: ProcessEnv;
        gid?: number;
        killSignal?: number | Signals;
        quiet?: boolean;
        serialization?: SerializationType;
        shell?: string | boolean;
        signal?: AbortSignal;
        stdio?: StdioOptions;
        timeout?: number;
        uid?: number;
        windowsHide?: boolean;
        windowsVerbatimArguments?: boolean;
    }

    Hierarchy

    • SpawnOptions
      • CmdStartOptions
    Index

    Properties

    argv0?: string
    cwd?: string | URL
    detached?: boolean
    env?: ProcessEnv
    gid?: number
    killSignal?: number | Signals

    The signal value to be used when the spawned process will be killed by the abort signal.

    'SIGTERM'
    
    quiet?: boolean

    安静输出

    开启后将以debug输出日志信息,否则mark

    serialization?: SerializationType

    Specify the kind of serialization used for sending messages between processes.

    'json'
    
    shell?: string | boolean
    signal?: AbortSignal

    When provided the corresponding AbortController can be used to cancel an asynchronous action.

    stdio?: StdioOptions

    Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. If passed as an array, the first element is used for stdin, the second for stdout, and the third for stderr. A fourth element can be used to specify the stdio behavior beyond the standard streams. See ChildProcess.stdio for more information.

    'pipe'
    
    timeout?: number
    0
    
    uid?: number
    windowsHide?: boolean
    false
    
    windowsVerbatimArguments?: boolean