On many occasions, using the Launch External Process command to execute a script or to launch an application will briefly display the command prompt window. In 4D 2004, you can now suppress this window from being displayed by passing a couple of parameters to the SET ENVIRONMENT VARIABLE command. This command must be called just before the Launch External Process command.
Command: SET ENVIRONMENT VARIABLE
Parameter1 (text): _4D_OPTION_HIDE_CONSOLE
Parameter2 (text): true
Syntax: SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true")
Note: Setting the value of the second parameter to "false" will cause the command prompt window to appear.