SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎TARGET Object‎ > ‎

target.Execute


Platform Objects


Description

Acts as a shell to run an arbitrary executable specified as input.


Syntax


Function Execute( command, login, password, start_dir, async, exec_code )


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


boolean - true: the command executed, false if there is an error and message if applicable.


See also

Platform Objects and Methods

target.RunOnce
target.CreateObject
Target Methods
Comments