terraform/builtin/provisioners
James Bardin ff2936bb3f Fix cancellation when spawning a subprocess
If the shell spawns a subprocess which doesn't close the output file
descriptors, the exec.Cmd will block on Wait() (see
golang.org/issue/18874). Use an os.Pipe to provide the command with a
real file descriptor so the exec package doesn't need to do the copy
manually. This in turn may block our own reading goroutine, but we can
select on that and leave it for cleanup later.
2017-02-01 12:01:29 -05:00
..
chef Merge pull request #10934 from hashicorp/f-provisioner-stop 2017-01-30 12:53:15 -08:00
file provisioners/file: support Stop 2017-01-26 15:03:28 -08:00
local-exec Fix cancellation when spawning a subprocess 2017-02-01 12:01:29 -05:00
remote-exec provisioners/remote-exec: listen to Stop 2017-01-26 15:10:30 -08:00