For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/lynxtron/api/@lynx-js/lynxtron/Interface.ForkOptions.md.
  • 简体中文
  • @lynx-js/lynxtron / ForkOptions

    ForkOptions

    属性

    allowLoadingUnsignedLibraries?

    optional allowLoadingUnsignedLibraries: boolean;

    With this flag, the utility process will be launched via the allow_child_plugin mechanism of the UtilityProcess API.

    定义于

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


    cwd?

    optional cwd: string;

    Current working directory of the child process.

    定义于

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


    env?

    optional env: Record<string, string>;

    Environment key-value pairs. Default is process.env.

    定义于

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


    execArgv?

    optional execArgv: string[];

    List of string arguments passed to the executable.

    定义于

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


    serviceName?

    optional serviceName: string;

    Allows configuring the mode for stdout and stderr of the child process. Default is inherit. String value can be one of pipe, ignore, inherit.

    定义于

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


    stdio?

    optional stdio: "pipe" | "ignore" | "inherit" | ("pipe" | "ignore" | "inherit")[];

    If true, the child's stdin, stdout, and stderr will be piped to the parent, otherwise they will be inherited from the parent. Default is false.

    定义于

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

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。