int Execute(string path, string args, bool asSystemUser = undefined)
Shell executes the specified path with args, and returns the process id of the new process.
Parameters
Name | Description |
path | The full path of the command to run. |
args | The command line arguements to pass to the application. |
asSystemUser | Optional value that indicates whether to execute as the SYSTEM user or not. Note that the process will still run interactively in the current user session. |
Return
The newly-created process id, or 0.