google / google/cro3

`cro3 dut list --add` eats input stream

Open
#265 1 comment 0 reactions 0 assignees View on GitHub
P2
Dominant language
Rust
Stars
50
Forks
18
PR merge metrics
No merged PRs in 30d

Description

When I tried to inport DUT address list from stdin like;
```
cat duts.txt | while read addr; do cro3 dut list --add $addr; done
```
This command exited unexpectedly after inported the 1st entry.
I could fixed it by adding `< /dev/null` to the cro3 command.
```
cat duts.txt | while read addr; do cro3 dut list --add $addr < /dev/null ; done
```
But this means `cro3 dut list --add` ate all input from standard input.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.