Execute custom commands
The command to be executed, using the terminal as cmd.
String
command = "./installer.exe /S"
Optional The directory in which to execute, defaults to the package installation directory.
String
pwd = "${AppData}/Microsoft"
Optional Whether the semantics of the current command is to call the installer, defaults to false
; Please specify this item correctly, as it will affect package permissions, static checks of the workflow, etc.
bool
call_installer = true
Optional Command waiting strategy.
Sync
: Synchronously wait for the command to complete before this step ends;
Delay
: Asynchronously execute the command and immediately complete the current step; Wait for the command to finish at the end of the current workflow, then end the workflow;
Abandon
: Asynchronously execute the command and immediately complete the current step; If this command has not finished by the time the current workflow is completed, then forcibly stop this command.
String Enum
Sync
Delay
Abandon
, default value: Sync
wait = "Delay"
Optional Whether to ignore the exit code, defaults to step failure when the exit code is not 0.
bool
ignore_exit_code = true
command
fieldcall_installer
is true
command
fieldcall_installer
is false
(default)