Documentation
¶
Overview ¶
Package spawn runs the shell commands the config names (click actions, power commands) and the apps the launcher starts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Detached ¶
Detached starts cmd with no stdio in a session and a systemd scope of its own, named for name, and reaps it in the background.
func Owned ¶
Owned is `sh -c command` bound to ctx as a whole: it runs in a process group of its own, and ctx's end signals that group, so the script's children stop with it. exec.CommandContext alone kills only sh, and a watch script's pipeline outlived every bar rebuild.
func Quiet ¶
func Quiet(cmd string)
Quiet runs cmd through sh -c in the background and returns at once, a click waiting on neither the fork nor the session bus.
Types ¶
This section is empty.