Bash script does not continue to read the next line of file

前端 未结 5 621
南笙
南笙 2021-02-06 17:27

I have a shell script that saves the output of a command that is executed to a CSV file. It reads the command it has to execute from a shell script which is in this format:

5条回答
  •  庸人自扰
    2021-02-06 18:05

    ffmpeg reads STDIN and exhausts it. The solution is to call ffmpeg with:

     ffmpeg 

    See the detailed explanation here: http://mywiki.wooledge.org/BashFAQ/089

提交回复
热议问题