3 ms·
Prompted by https://news.ycombinator.com/item?id=46231293 https://news.ycombinator.com/item?id=46231293 - piping from stdout/stderr would be extra cool but we
by baobun 10mo ago
Prompted by https://news.ycombinator.com/item?id=46231293 https://news.ycombinator.com/item?id=46231293 - piping from stdout/stderr would be extra cool but we only really need the exit code here.
- ranger_danger 10mo agoHey thanks. Actually I do something similar already using the "task-spooler" package on Debian. $ tsp yt-dlp <some URL> # returns immediately, runs tasks in its own shell in the background one at a time (or can be parallel if you tell it to) # can check status/stdout any time with tsp -t (including older/other queued commands) # just queue a new command to run after the last one at any time $ tsp ffmpeg -i <file that will be downloaded by yt-dlp> <other params> etc.