I made my MCVE and executed it with nohup, the sample batch continued after the window was closed. Whatever issue exists when using my complicated batch script I will probably never be able to isolate.
Thanks for writing parallel!! It has made increasing productivity so easy and reliable!
I'm using parallel for video encoding because I have a Nvidia card with NVENC and paralleling 8 processes nets about 5x quicker conversions....
Anyway, here's my sample code, maybe you want to add it as an example, I'm sure other people are like me and converting masses of jpg or video files:
## conversion.sh ##
#! /bin/bash
srcFile=$1
destFile=${srcFile%.*}".mkv"
ffmpeg -i $srcFile $destFile
## conversion.sh ##
## script.sh ##
#! /bin/bash
wget
https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_5mb.mp4cp big_buck_bunny_720p_5mb.mp4 001.mp4
cp big_buck_bunny_720p_5mb.mp4 002.mp4
cp big_buck_bunny_720p_5mb.mp4 003.mp4
cp big_buck_bunny_720p_5mb.mp4 004.mp4
cp big_buck_bunny_720p_5mb.mp4 005.mp4
cp big_buck_bunny_720p_5mb.mp4 006.mp4
cp big_buck_bunny_720p_5mb.mp4 007.mp4
cp big_buck_bunny_720p_5mb.mp4 008.mp4
find . -iname "*.mp4" | parallel -j 2 ./conversion.sh
## script.sh ##