The ENVIAsyncSpawnTaskJob::OnDone method is an implementation override of the IDLAsyncSpawnTaskJob callback invoked on this job by the Done event handler. The basic sequence of operations follows:

  • Call IDLAsyncSpawnJob::OnDone to make sure the pipe is closed, exit status retrieved.
  • Check if the temporary file into which STDERR was redirected exists and has any text.
  • Read that text into STDERR property if it exists and delete the temporary file.
  • Call GetReturnValue to get serialized output parameters.
  • Rehydrate the output parameter values and update the TASK property.

Syntax


ENVIAsyncSpawnTaskJob.OnDone

Arguments


None

Keywords


None

Version History


5.5

Introduced

API Version


4.2

See Also


ENVIAsyncSpawnTaskJob