Pythonのときと同じだった……。
成果物
前回
参考
- https://stackoverflow.com/questions/199528/c-sharp-console-receive-input-with-pipe
- https://stackoverflow.com/questions/3453220/how-to-detect-if-console-in-stdin-has-been-redirected
対象環境
- Raspbierry pi 4 Model B
- Raspbian buster 10.0 2019-09-26 ※
- bash 5.0.3(1)-release
- Python 2.7.16
- Python 3.7.3
$ uname -a Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux