On Thu, Jul 9, 2020 at 5:52 PM Ian Gudger wrote:
>
> Thanks for pointing me to the bug.
>
> This is happening to me even with nil or *os.File Stdout and Stderr (I tried
> both). Is there anything that can be done to guarantee that exec.Cmd.Wait
> won't block indefinitely? I don't think my subpro
Thanks for pointing me to the bug.
This is happening to me even with nil or *os.File Stdout and Stderr (I
tried both). Is there anything that can be done to
guarantee that exec.Cmd.Wait won't block indefinitely? I don't think my
subprocess is starting any of its own subprocesses, but I am not comp
On Thu, Jul 9, 2020 at 4:14 PM Ian Gudger wrote:
>
> I am using Go 1.14 AMD64 on Linux 5.3.0.
>
> When I create a subprocess with exec.Cmd.Start, I can't seem to fully kill it
> with exec.Cmd.Process.Kill, or at least not to the satisfaction of
> exec.Cmd.Wait.
>
> I am doing something along the
I am using Go 1.14 AMD64 on Linux 5.3.0.
When I create a subprocess with exec.Cmd.Start, I can't seem to fully kill
it with exec.Cmd.Process.Kill, or at least not to the satisfaction
of exec.Cmd.Wait.
I am doing something along the lines of:
cmd := exec.Command(binPath)
if err := cmd.Start(); e