Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 673 Bytes

executables.rst

File metadata and controls

29 lines (20 loc) · 673 Bytes

Executables

EXPERIMENTAL

This function is still being reviewed, and may be subject to changes to it's signature and naming before uranium 1.0.

Uranium provides a convenience wrapper to interact with executables. This can handle some common scenarios, like execute a script and patch in the stdin, stdout, and stderr streams of the main Uranium processes.

def main(build):
    build.packages.install("py.test")
    build.executables.run(["py.test", "tests"])

Full API Reference

uranium.executables.Executables