Skip to content

Commit 18d995b

Browse files
authored
Fix board list failing because stdin is already set (#904)
1 parent 1785314 commit 18d995b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commands/bundled_tools_serial_discovery.go

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ func ListBoards(pm *packagemanager.PackageManager) ([]*BoardPort, error) {
138138
}
139139

140140
// attach in/out pipes to the process
141+
cmd.Stdin = nil
141142
in, err := cmd.StdinPipe()
142143
if err != nil {
143144
return nil, fmt.Errorf("creating stdin pipe for discovery: %s", err)

0 commit comments

Comments
 (0)