Custom |
This parameter is optional, but when it's set it greatly changes the behavior of the job.
If this parameter is null, the job will be in "fire and forget" mode. It will start the process and then immediately return. This will almost always succeed (as long as the program exists), but there's no way of knowing if the executable finished successfully.
If this parameter is set, the job will wait for the process to finish, and then check the exit code. Normally an exit code of 0 is used for a successful execution, but this value may be set to any integer.