Sha256: 6530317a24d86227b58c0f1235f8e4626b97dc0b222cb8fa47f690b146046e32
Contents?: true
Size: 253 Bytes
Versions: 2
Compression:
Stored size: 253 Bytes
Contents
#!/usr/bin/env ruby `for cmd in "$@"; do { echo "Process \"$cmd\" started"; $cmd & pid=$! PID_LIST+=" $pid"; } done trap "kill $PID_LIST" SIGINT echo "Parallel processes have started"; wait $PID_LIST echo echo "All processes have completed";`
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pingpongpairing-0.1.4 | exe/parallel |
pingpongpairing-0.1.3 | exe/parallel |