test-cmd.rb is a Go-inspired, object-oriented interface for running commands on UNIX-like systems, in the spirit of Go's `os/exec`. A command can be built by chaining multiple method calls that impact different command attributes. The environment the command executes with can be set, its standard input stream can be written to, and the standard output and standard error streams are captured so the parent process can read them.

Required Ruby Version

>= 3.0

Authors

Robert Gleeson

Versions

  1. 2.7.3
    1. source

      1. 2.7.3 source October 15, 2026 (9 KB)
  2. 2.7.2
    1. source

      1. 2.7.2 source October 13, 2026 (14 KB)
  3. 2.7.1
    1. source

      1. 2.7.1 source September 09, 2026 (13.5 KB)
  4. 2.7.0
    1. source

      1. 2.7.0 source September 09, 2026 (13.5 KB)
  5. 2.6.0
    1. source

      1. 2.6.0 source September 07, 2026 (13.5 KB)
Show all versions (32 total)

Pushed by

SHA 256 checksum