3 ms·
If I find myself running a set of commands in parallel, I'd keep a cheap Makefile around: individual commands I want to run in parallel will be written as phony
by penguin_booze 5y ago
If I find myself running a set of commands in parallel, I'd keep a cheap Makefile around: individual commands I want to run in parallel will be written as phony targets:
all: cmd1 cmd2
cmd1:
sleep 5
cmd2:
sleep 10
And then
make -j[n]