Great question — answering as the UphillTech team:
This is what's required : mate-terminal -e "bash -c \"ffmpeg -i $name -acodec copy output.mp4;read -p'Press Enter to quit'\"" Explain: What we want is to run two commands (maybe others as well) ffmpeg -i $name -acodec copy output.mp4 read -p'Press Enter to quit' By chaining them together with bash -c bash -c "ffmpeg -i $name -acodec copy output.mp4;read -p'Press Enter to quit'" To put it in the context of mate-terminal, we need to escape both double quotes: bash -c \"ffmpeg -i $name -acodec copy output.mp4;read -p'Press Enter to quit'\" mate-terminal -e accept a single argument which gives : mate-terminal -e "bash -c \"ffmpeg -i $name -acodec copy output.mp4;read -p'Press Enter to quit'\""
Full answer by Philippe: https://unix.stackexchange.com/a/560689 (CC BY-SA 4.0).
Need it done for your business? UphillTech.