The <background> element is a child of the <execNative> element and, when present, specifies that the command should be executed as a background process. It has no attributes or child elements.
For an <execNative> with a <background> element, the following constraints apply.
<successCriteria> need not be specified. The step will succeed if there were no issues starting off the background process. If specified, the <successCriteria> is tested against the script that is used to run the command as a background process.
No standard output or error output will be captured for the executed command. Clicking on details will show exist status as 0 and the empty output and error output. However in case there were problems starting the native command in background, you will see a different exit status, depending on the nature of the error and diagnostic output.
The <outputFile> and <errorFile> elements must be specified. If the specified files already exist, they will be overwritten.