|
|
|
|
|
- Properties specific to Process variables
- Functions that use the Process type
Process (Variable type) In french: Processus
The Process type is used to define the characteristics of the remote application that can be started by ExeRemoteRun. You can define and change the characteristics of this application using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. AppliALancer is Process
AppliALancer.Executable = "monappli.exe"
AppliALancer.CommandLine = "/SILENT"
AppliALancer.ExecutionLogin = "DOMAINE\USER"
AppliALancer.ExecutionPassword = "monmotdepasse"
ExeRemoteRun(AppliALancer, exeReturnValue, "POSTE2")
WHILE AppliALancer.ExecutionInProgress
Wait(100)
END
Trace(AppliALancer.ReturnValue)
Remarks Properties specific to Process variables The following properties can be used to handle a process: | | | Property name | Type used | Effect |
---|
CommandLine | Character string | Command line of application to start. The executable name must not be found in this command line. | ComputerName | Character string | Name of remote computer on which the process will be run. This property is read-only. | Executable | Character string | Path 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. | ExecutionInProgress | Boolean | - True if the remote application is currently run,
- False otherwise.
This property is read-only. | ExecutionLogin | Character string | Login of user who must start the process. This login can correspond to: - a character string whose format is "Domain\User".
- or to the constant LocalSystemAccount constant: in this case, the application will be launched with the operating system account.
If this property is set to an empty string, the current user account is used (user account on the current computer). | ExecutionPassword | Character string or Secret string | Password associated with the user.
New in version 2025Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "Unicode string". To learn more about secret strings and how to use the vault, see Secret string vault. This property is available in write-only mode.
| PID | Integer | Identifier of process. This property is set to -1 if the execution of the remote application is completed. | ReturnValue | Integer | Return 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. | WorkingDirectory | Character string | Directory 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 Process variables:
| | ExeRemoteRun | Starts running a remote program from the current application. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|