gbg 1.0.0

A simple tool to run commands in the background
Documentation
  • Coverage
  • 0%
    0 out of 6 items documented0 out of 2 items with examples
  • Size
  • Source code size: 4.54 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.18 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • akshaykripalani

gbg

Go (to) BackGround, a hypersimple cli tool to run any command in the background from your shell.

Install

cargo install gbg

Usage

gbg [-l LOG_FILE] <command> [args...]
  • Without -l the command's output is discarded (/dev/null).
  • With -l the command's stdout & stderr are appended to LOG_FILE.

Examples

# Run a long-running script and discard output

gbg python long_task.py


# Run a build and log everything to build.log

gbg -l python long_task.py

Built for Linux & macOS. Requires the Rust installed