Execute custom commands
The command to be executed, using the terminal as cmd.
Stringcommand = "./installer.exe /S"Optional The directory in which to execute, defaults to the package installation directory.
Stringpwd = "${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.
boolcall_installer = trueOptional 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 EnumSync Delay Abandon , default value: Syncwait = "Delay"Optional Whether to ignore the exit code, defaults to step failure when the exit code is not 0.
boolignore_exit_code = truecommand fieldcall_installer is truecommand fieldcall_installer is false (default)