Hi, I tried outputting the value of werr.(*exec.ExitError).Stderr, but it's
empty.

Outputting all of werr.(*exec.ExitError) via

fmt.Printf("[job *ExitError:%+v]\n", werr.(*exec.ExitError))

..gives merely

[job *ExitError:signal: killed]



On Sat, Mar 2, 2024 at 6:04 PM Ian Lance Taylor <i...@golang.org> wrote:

> On Sat, Mar 2, 2024 at 9:59 AM Russtopia <rma...@gmail.com> wrote:
> >
> > Symptom: mysterious "signal: killed" occurrences with processes spawned
> from Go via exec.Cmd.Start()/Wait()
>
> The first step is to tell us the exact and complete error that you
> see.  "signal: killed" can have different causes, and the rest of the
> information should help determine what is causing this one.
>
> Ian
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAN4yCu_QqCHMuZnCkc%3DoH7e5uJLS4mfcK5zSa15ehzFUeUn2BQ%40mail.gmail.com.

Reply via email to