gbg 1.0.1

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: 5.03 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 277.72 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • akshaykripalani/gbg
    0 0 0
  • 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 long-running script and log everything to script.log

gbg -l script.log python long_task.py

Built for Linux & macOS. Requires the Rust installed