I'm not sure how to search for this. I've tried some stuff off the top of my head but without any luck.
I have some medium sized scripts which I want to be able to paste in bulk into a terminal.
However, these scripts will halt when ffmpeg is run. Nothing after that pasted command is used. This is because ffmpeg sits there and spins its wheels.
- If put into a script, everything would work fine.
- If the copy-and-paste did each ffmpeg in turn it would be ok.
- But is there a sensible way for me to modify my code so that it's more paste friendly?
Something like this non-functioning code perhaps?:
Code:
echo other stuff
echo other stuff
ffmpeg foo&&\
echo other stuff
ffmpeg foo&&\
echo other stuff
ffmpeg foo&&\
echo other stuff