background property
Normally, a runnable that doesn't exit causes its task to fail.
However, you can set this field to true
to configure a background
runnable. Background runnables are allowed continue running in the
background while the task executes subsequent runnables. For example,
background runnables are useful for providing services to other runnables
or providing debugging-support tools like SSH servers. Specifically,
background runnables are killed automatically (if they have not already
exited) a short time after all foreground runnables have completed. Even
though this is likely to result in a non-zero exit status for the
background runnable, these automatic kills are not treated as task
failures.
Implementation
core.bool? background;