|
- Using a command line
- Using the exeActive constant
- Return value of a WINDEV executable
- Various
- Equivalence
- Differences between GO mode and runtime
- Application in the background: Android 10 specific case
ExeRun (Function) In french: LanceAppli Starts the execution of a program (an executable for example) from the current application. Versions 22 and later New in version 22 Versions 22 and later New in version 22 Syntax
Running an executable (in locking or non-locking mode) Hide the details
<Result> = ExeRun(<Program name> [, <Mode> [, <Wait for end> [, <Working directory>]]])
<Result>: Boolean - True if the program was started,
- False otherwise. ErrorInfo returns more details about the error.
<Program name>: Character string Name of program to start with its path and/or the parameters that must be passed to the program (if necessary). - If no path is specified, the program is sought in the current directory, then in the Windows directory and in the directories accessible by PATH.
- If the executable corresponds to a long name with space characters, the following syntax must be used:
<Program name> = " " " Long_name_with_spaces" " Command_line"
Versions 22 and later New in version 22 <Mode>: Optional integer constant Program launch mode (no action on DOS programs). | | exeActive (Default value) | The program run is active, it "takes control" over the current program. | exeIconize | The program run is inactive and it is minimized.
| exeInactive | The program run is inactive: it is run while the current program keeps focus. | exeMaximize | The program run is active, it "takes control" over the current program (the execution window is maximized). |
<Wait for end>: Optional Boolean constant Configures the time-out before resuming the execution of the current program: | | exeWait | The current program resumes its execution when the program run is over. | exeDontWait (Default value) | The current program and the program run are run in parallel. |
<Working directory>: Optional character string Working directory of application to start. Remarks Using a command line To pass parameters in command line to the executable run, you must specify the name and full path of the executable to run. If the program run was developed with WINDEV, OrderLine allows you to retrieve the command line. Versions 25 and later New in version 25
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |