For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/lynxtron/api/@lynx-js/lynxtron/Class.UtilityProcess.md.
  • English
  • @lynx-js/lynxtron / UtilityProcess

    UtilityProcess

    Extends

    • unknown

    Constructors

    new UtilityProcess()

    new UtilityProcess(): UtilityProcess

    Returns

    UtilityProcess

    Inherited from

    EventEmitter.constructor

    Properties

    pid

    readonly pid: undefined | number;

    The PID of the process.

    Defined in

    apis/api/utility-process.d.ts:14


    stderr

    readonly stderr: any;

    A Readable Stream that represents the process's stderr.

    Defined in

    apis/api/utility-process.d.ts:22


    stdout

    readonly stdout: any;

    A Readable Stream that represents the process's stdout.

    Defined in

    apis/api/utility-process.d.ts:18

    Methods

    kill()

    kill(): boolean

    Terminates the process gracefully. On some operating systems, the process will be terminated immediately.

    Returns

    boolean

    Defined in

    apis/api/utility-process.d.ts:27


    postMessage()

    postMessage(message: any, transfer?: any[]): void

    Send a message to the child process.

    Parameters

    ParameterType
    messageany
    transfer?any[]

    Returns

    void

    Defined in

    apis/api/utility-process.d.ts:31

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.