|
|
|
|
|
- Using a command line
- Using the exeActive constant
- Return value of a WINDEV executable
- Starting an application in WEBDEV server code
- Starting an application in Windows Vista (and later)
- Miscellaneous
- Aplicación en segundo plano: Caso concreto de Android 10
Executes a program (an executable file, for example) from the current application.
Sintaxis
Running an executable (in locking or non-locking mode) Ocultar los detalles
<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"
<Mode>: Optional integer constant Program start 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 launched program is inactive: it runs while the current program maintains focus.. | exeMaximize | The program run is active, it "takes control" over the current program (the execution window is maximized). | exeNoHandleInheritance | Indicates that the executable should not inherit handles from the parent (applies to ALL handles, including files). The executable is independent of the application that launched it. This constant can be combined with other application launch constants. |
<Wait for end>: Optional Boolean constant Configures the timeout before resuming the execution of the current program: | | exeDontWait (Default value) | The current program and the launched program run in parallel. | exeWait | The current program resumes its execution when the program run is over. |
<Working directory>: Optional character string Working directory of the application to be started. Observaciones 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.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|