Initially I wasn't 100% clear or decided on the send/recv semantics. After some experimenting, I think this is much closer to what we want. Nothing should break or regress here, this only enables more possibilities.
12 lines
193 B
Plaintext
12 lines
193 B
Plaintext
exec "a" {
|
|
shell => "/bin/bash",
|
|
cmd => "echo hello | tee /tmp/hello",
|
|
creates => "/tmp/hello",
|
|
}
|
|
|
|
file "/tmp/hello" {
|
|
mode => "ug=rw,o=",
|
|
}
|
|
|
|
Exec["a"].output -> File["/tmp/hello"].content
|