Task Object

    • string - Path of the program to execute, usually you should specify process.execPath which opens the current program.
    • title string - The string to be displayed in a JumpList.
    • 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.
    • string (optional) - The working directory. Default is empty.