Skip to main content

Module bash

Module bash 

Source
Expand description

bash: run a command, stream its combined output, keep the tail.

Structs§

Bash
The bash tool.

Functions§

kill_tracked_children
Kills every running command’s process tree, as pi’s killTrackedDetachedChildren does before exiting on a signal.
shell
The shell pi uses: /bin/bash, else bash on PATH, else sh.
shell_with
The shell for commands: the shellPath setting when set and not empty, with ~ and file:// expanded as pi’s getShellPath does, else shell.
with_prefix
command after the shellCommandPrefix setting’s line, when it is set and not empty.