|
|
|
@ -388,7 +388,7 @@ class Command<O extends IOPayload> extends EventEmitter<CommandEvents> {
|
|
|
|
|
* Creates a new `Command` instance.
|
|
|
|
|
*
|
|
|
|
|
* @param program The program name to execute.
|
|
|
|
|
* It must be configured on `tauri.conf.json > plugins > shell > scope`.
|
|
|
|
|
* It must be configured in your project's capabilities.
|
|
|
|
|
* @param args Program arguments.
|
|
|
|
|
* @param options Spawn options.
|
|
|
|
|
*/
|
|
|
|
@ -425,7 +425,7 @@ class Command<O extends IOPayload> extends EventEmitter<CommandEvents> {
|
|
|
|
|
* ```
|
|
|
|
|
*
|
|
|
|
|
* @param program The program to execute.
|
|
|
|
|
* It must be configured on `tauri.conf.json > plugins > shell > scope`.
|
|
|
|
|
* It must be configured in your project's capabilities.
|
|
|
|
|
*/
|
|
|
|
|
static create<O extends IOPayload>(
|
|
|
|
|
program: string,
|
|
|
|
@ -457,7 +457,7 @@ class Command<O extends IOPayload> extends EventEmitter<CommandEvents> {
|
|
|
|
|
* ```
|
|
|
|
|
*
|
|
|
|
|
* @param program The program to execute.
|
|
|
|
|
* It must be configured on `tauri.conf.json > plugins > shell > scope`.
|
|
|
|
|
* It must be configured in your project's capabilities.
|
|
|
|
|
*/
|
|
|
|
|
static sidecar<O extends IOPayload>(
|
|
|
|
|
program: string,
|
|
|
|
|