Open mhiramat opened 3 months ago
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.
< /dev/null
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.
cro3 dut list --add
Make this P2 because it has a mitigation and inporting dut list should be supported directly. But eating up input stream is a problem.
When I tried to inport DUT address list from stdin like;
This command exited unexpectedly after inported the 1st entry. I could fixed it by adding
< /dev/null
to the cro3 command.But this means
cro3 dut list --add
ate all input from standard input.