Help / WLanguage / WLanguage functions / Standard functions / Windows management functions / Executable functions
  • Properties specific to Process variables
  • Functions that use the Process type
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Process (Type of variable)
In french: Processus
The Process type is used to define the characteristics of the remote application that can be started by ExeRemoteRun.
The characteristics of this application can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
AppToStart is Process
AppToStart.Exécutable = "myapp.exe"
AppToStart.CommandLine = "/SILENT"
AppToStart.ExecutionLogin = "DOMAIN\USER"
AppToStart.ExecutionPassword = "mypassword"
ExeRemoteRun(AppToStart, exeReturnValue, "COMPUTER2")
WHILE AppToStart.ExecutionInProgress

Properties specific to Process variables

The following properties can be used to handle a process:
Property nameType usedEffect
CommandLineCharacter stringCommand line of application to start. The executable name must not be found in this command line.
ComputerNameCharacter stringName of remote computer on which the process will be run.
This property is read-only.
ExecutableCharacter stringPath of application to start. This path is local to the computer where the application will be started. The application must be found on the remote computer because ExeRemoteRun does not copy the executable.
No UNC path can be used.
  • True if the remote application is currently run,
  • False otherwise.
    This property is read-only.
ExecutionLoginCharacter stringLogin of user who must start the process. This login can correspond to:
  • a character string whose format is "Domain\User".
  • the AccountLocalSystem constant: In this case, the application will be started with the account of the operating system.
If this property corresponds to an empty string, the current user account is used (user account on the current computer).
ExecutionPasswordCharacter stringPassword associated with the user.
This property is available in write mode.
PIDIntegerIdentifier of process. This property is set to -1 if the execution of the remote application is completed.
ReturnValueIntegerReturn value returned by the remote application. If the remote application is not completed, this property is set to 257. If the remote application was not started, this property is set to 0.
WorkingDirectoryCharacter stringDirectory for starting the remote application. This path is local to the computer where the application will be started.

Functions that use the Process type

The following functions can be used to handle a Process variable:
ExeRemoteRunStarts running a remote program from the current application.
Minimum version required
  • Version 15
This page is also available for…
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help