RunApp/en: Porovnání verzí
(Založena nová stránka s textem „RunApp“) |
(Založena nová stránka s textem „Return value of the running process (relevant only in the synchronous mode).“) |
||
| (Není zobrazeno 25 mezilehlých verzí od stejného uživatele.) | |||
| Řádek 3: | Řádek 3: | ||
[[Category:GuiMaster Library]] | [[Category:GuiMaster Library]] | ||
| − | == | + | == Description == |
'''Alias: RA''' | '''Alias: RA''' | ||
| − | ''' | + | '''Runs the application.''' |
| − | + | Runs the application specified by the [[#file-| File]] parameter or [[#parameters-| Parameters]] if other parameters are added. The working folder is specified by the [[#directory-| Directory]] parameter. The initial status of the window opened by the application is determined by the [[#showmode-| ShowMode]] parameter, and the [[#synchronious-| Synchronious]] parameter specifies any wait to be expected for its termination. | |
| − | == | + | == Input parameters == |
<span id="file-"></span> | <span id="file-"></span> | ||
=== File === | === File === | ||
| − | + | Type [[Special:MyLanguage/Data types#String | String]] | |
| − | + | Run command. | |
<span id="parameters-"></span> | <span id="parameters-"></span> | ||
=== Parameters === | === Parameters === | ||
| − | + | Type [[Special:MyLanguage/Data types#String | String]] | |
| − | + | Command parameters. | |
<span id="directory-"></span> | <span id="directory-"></span> | ||
=== Directory === | === Directory === | ||
| − | + | Type [[Special:MyLanguage/Data types#String | String]] | |
| − | + | Working directory. | |
<span id="showmode-"></span> | <span id="showmode-"></span> | ||
=== ShowMode === | === ShowMode === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Show mode for the running application. | |
<span id="synchronious-"></span> | <span id="synchronious-"></span> | ||
| − | === | + | === Synchronous === |
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | At 0, the run is asynchronous, while at 1, it waits for the executed command to end. | |
=== Enabled === | === Enabled === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Enables or disables the command. If the value is 0, the command will not be executed. | |
=== PreWait === | === PreWait === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Delay in milliseconds before executing the command. It has no effect if Enabled=0. | |
=== PostWait === | === PostWait === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Delay in milliseconds before executing the command. It has no effect if Enabled=0. | |
| − | == | + | == Output parameters == |
=== ProcessId === | === ProcessId === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Process identifier. | |
=== ExitCode === | === ExitCode === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Return value of the running process (relevant only in the synchronous mode). | |
Aktuální verze z 29. 1. 2021, 13:34
Obsah
Description
Alias: RA
Runs the application.
Runs the application specified by the File parameter or Parameters if other parameters are added. The working folder is specified by the Directory parameter. The initial status of the window opened by the application is determined by the ShowMode parameter, and the Synchronious parameter specifies any wait to be expected for its termination.
Input parameters
File
Type String
Run command.
Parameters
Type String
Command parameters.
Directory
Type String
Working directory.
ShowMode
Type Number
Show mode for the running application.
Synchronous
Type Number
At 0, the run is asynchronous, while at 1, it waits for the executed command to end.
Enabled
Type Number
Enables or disables the command. If the value is 0, the command will not be executed.
PreWait
Type Number
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
PostWait
Type Number
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
Output parameters
ProcessId
Type Number
Process identifier.
ExitCode
Type Number
Return value of the running process (relevant only in the synchronous mode).