passthrough

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

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 passthrough hands a command line the Go doit has not ported to the Python doit, which still runs it.

The process is replaced rather than spawned. The Python program then owns stdin, stdout, stderr, the terminal's signals and the exit code, as if it had been run directly.

Index

Constants

View Source
const CommandsVariable = "DOIT_GO_COMMANDS"

CommandsVariable carries the Go tree's commands to Program, which lists each one its own tree lacks in the help it prints.

View Source
const Program = "doit-python"

Program is the Python doit's console script, which Go finds on PATH.

Variables

View Source
var ErrNotInstalled = errors.New(Program + " is not on PATH")

ErrNotInstalled is Program missing from PATH.

Functions

func Exec

func Exec(args []string, commands string) error

Exec replaces this process with Program run on args, with commands in CommandsVariable, and returns only when that cannot happen.

Types

This section is empty.

Jump to

Keyboard shortcuts

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