- 普通に呼ぶと、コマンド終了後にteeに渡させるので、リアルタイムでみることはできない
- scriptコマンドから呼ぶといいみたい
script -c "./apply.sh aaa /dev/null" | tee out.log
Go to list of users who liked
More than 3 years have passed since last update.
script -c "./apply.sh aaa /dev/null" | tee out.log
Register as a new user and use Qiita more conveniently
Go to list of users who liked