A set of handy process running utilities, written in Go.
- Package GoDoc Documentation
- prunevery: Enforce a minimum period between executions of a command.
- prunex: Run a command exclusively (Unix only).
- prunfail: Guard the output of a potentially or intermittently failing command.
- prunfor: Run a command for an optionally limited amount of time.
- prunparallel: Run commands in parallel.
- prunsleep: Run a command after sleeping a random amount of time.
Individually:
go get chrispennello.com/go/prun/cmd/prunevery
go get chrispennello.com/go/prun/cmd/prunex
go get chrispennello.com/go/prun/cmd/prunfail
go get chrispennello.com/go/prun/cmd/prunfor
go get chrispennello.com/go/prun/cmd/prunparallel
go get chrispennello.com/go/prun/cmd/prunsleep
Everything:
go get chrispennello.com/go/prun/cmd/...
- Explicitly handle interrupts and other signals.