Files
mgmt/examples/lang/sendrecv-creates.mcl
James Shubin 774d408e13 engine: Fix up some send/recv corner cases
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.
2025-05-05 23:53:37 -04:00

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