success

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2017 License: MPL-2.0 Imports: 2 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package success implements a very simple plugin that looks that the ResultSet.Success() value to determine if the process from the sandbox exited successfully.

Most engines implements ResultSet.Success() to mean the sub-process exited non-zero. In this plugin we use this in the Stopped() hook to ensure that tasks are declared "failed" if they had a non-zero exit code.

The attentive reader might think this is remarkably simple and stupid plugin. This is true, but it does display the concept of plugins and more importantly removes a special case that we would otherwise have to take into consideration in the runtime.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL