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