SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.NewTaskWait()
(SBM On-Premise only) Executes an external application, passing any given arguments and awaiting the results.
int Ext.NewTaskWait( appName, [ arg1-6 ] ) int Ext.NewTaskWait( appName, Vector args )
Parameter | Type | Description |
---|---|---|
appName |
The appName can be any external application.
For details on using ScriptAppPath, refer to Setting Script Application Paths. |
|
arg (up to 6) |
Variant |
Optional. Between 0-6 parameters to pass to the command. For more than 6 parameters, use the Vector signature. |
args |
Vector |
Parameters to pass to the command. |
Type | Description |
---|---|
int |
Returns the application's exit code. For details about exit codes, refer to Ext.CmdLineWait(). |
SBM ModScript version: 11.3.
While the script is waiting, its execution is frozen. This may cause performance problems for long scripts or scripts that occur repeatedly.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.