Executes a program or command.
int32 RunProgram( string p_sCommandLine, string p_sDirectory, string p_sTitle, int32 p_bVisible, int32 p_bWait )
Parameter Type | Parameter Name | Documentation |
---|---|---|
string | p_sCommandLine | A string containing the path and program name. |
string | p_sDirectory | The directory in which to start the command line program. |
string | p_sTitle | A string containing the desired title for the window, if applicable. |
int32 | p_bVisible | A flag indicating whether or not a window should be shown for the command. 1 is used to indicate a window can be shown if applicable; 0 is used to indicate that a window should not be shown. |
int32 | p_bWait | If true, locks Simdify while the program or command executes. |
None published. Please look for an example in the Simdify Scripting Language code base.