StartProcess

startprocess [<path>] (<startup arguments>) (<wait for exit>)

Starts a new windows process at the specified file path.

Parameters:

  1. The path to the file of the executable to run.
  2. The startup arguments for the process. These are optional and their notation may vary from program to program.
  3. Whether this command should hold until the process has stopped running. This can be true or false. The default value is false.

Returns: The process ID of the process that was ran, if any.