Given the task foo, which uses the sh helper with Process.spawn-style options:
task "foo" do
sh({ "FOO" => "BAR" }, "ls manuscript/*.md", out: "mdlist.txt")
end
Currently, running this task reveals environment variables in shell-command style, but not the output sink.
$ rake foo
FOO=BAR ls manuscript/*.md
Suggested behavior is to reveal the output sink as a simulated shell redirect:
$ rake foo
FOO=BAR ls manuscript/*.md > mdlist.txt
Given the task
foo, which uses theshhelper withProcess.spawn-style options:Currently, running this task reveals environment variables in shell-command style, but not the output sink.
$ rake foo FOO=BAR ls manuscript/*.mdSuggested behavior is to reveal the output sink as a simulated shell redirect: