Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run executes an external command with NOTIFY_* environment variables. The command is run through the system shell (sh -c on Unix, cmd /C on Windows). Dynamic data is passed exclusively via env vars — the command string is NOT expanded through tmpl.Expand to prevent shell injection.
Timeout behavior:
- nil → 10-second default
- 0 → no timeout
- >0 → that many seconds
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.