hashicorp / hashicorp/go-plugin
exec: Stdout already set
Open
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 511
- Avg merge
- 22h 47m
- Merged PRs (30d)
- 4
Description
```
type CmdRunner struct {
logger hclog.Logger
cmd *exec.Cmd
stdout io.ReadCloser
stderr io.ReadCloser
// Cmd info is persisted early, since the process information will be removed
// after Kill is called.
path string
pid int
addrTranslator
}
```
When executing the kill command to terminate a child process, I found that the runner did not close the stdout and stderr.
Contributor guide
Assessment
This issue has not been assessed yet.