target.Execute
Description
Description
Acts as a shell to run an arbitrary executable specified as input.
Syntax
Syntax
Function Execute( command, login, password, start_dir, async, exec_code )
Parameters
Parameters
string command - the command (required)
string login - user login (optional)
string password - user password (optional)
string start_dir working directory (optional)
boolean async - don't wait execution completion (optional)
boolean byref exec_code - the result to be placed in
Return value
Return value
boolean - true: the command executed, false if there is an error and message if applicable.
See also