Sha256: 51523fc5280681fbca12bc7184b3eac32d55f329b7e50c6c2b687ba6e6c5a0c9

Contents?: true

Size: 215 Bytes

Versions: 3

Compression:

Stored size: 215 Bytes

Contents

require "./lib/kommando"

k = Kommando.new "$ echo $KOMMANDO_ENV1 $KOMMANDO_ENV2", {
  env: {
    KOMMANDO_ENV1: "hello",
    KOMMANDO_ENV2: "world"
  }
}
k.run

raise "err" unless k.out == "hello world"
puts k.out

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kommando-0.0.12 examples/env.rb
kommando-0.0.11 examples/env.rb
kommando-0.0.10 examples/env.rb