News for hackers. Stuff that matters.
Re:Ask HN: Extendable" Shell Commands? by baobun on Thursday December 11, 2025 @01:09PM (#46234846)
Prompted by https://news.ycombinator.com/item?id=46231293 - piping from stdout/stderr would be extra cool but we only really need the exit code here.
Re:Ask HN: Extendable" Shell Commands? by ranger_danger on Thursday December 11, 2025 @01:30PM (#46235096)
Hey 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.