mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
genbindings/clangexec: show clang stderr
This commit is contained in:
parent
bd15f9c10f
commit
3143374fbf
@ -6,6 +6,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
"os/exec"
|
||||
"sync"
|
||||
)
|
||||
@ -22,6 +23,8 @@ func clangExec(ctx context.Context, clangBin, inputHeader string, cflags []strin
|
||||
return nil, fmt.Errorf("StdoutPipe: %w", err)
|
||||
}
|
||||
|
||||
cmd.Stderr = os.Stderr
|
||||
|
||||
err = cmd.Start()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Start: %w", err)
|
||||
|
Loading…
Reference in New Issue
Block a user