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.Task.md.
  • 简体中文
  • @lynx-js/lynxtron / Task

    Task

    属性

    arguments

    arguments: string;

    The command line arguments when program is executed.

    定义于

    apis/api/task.d.ts:9


    description

    description: string;

    Description of this task.

    定义于

    apis/api/task.d.ts:13


    iconIndex

    iconIndex: number;

    The icon index in the icon file. If an icon file consists of two or more icons, set this value to identify the icon. If an icon file consists of one icon, this value is 0.

    定义于

    apis/api/task.d.ts:19


    iconPath

    iconPath: string;

    The absolute path to an icon to be displayed in a JumpList, which can be an arbitrary resource file that contains an icon. You can usually specify process.execPath to show the icon of the program.

    定义于

    apis/api/task.d.ts:25


    program

    program: string;

    Path of the program to execute, usually you should specify process.execPath which opens the current program.

    定义于

    apis/api/task.d.ts:30


    title

    title: string;

    The string to be displayed in a JumpList.

    定义于

    apis/api/task.d.ts:34


    workingDirectory?

    optional workingDirectory: string;

    The working directory. Default is empty.

    定义于

    apis/api/task.d.ts:38

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