Skip to content

Instantly share code, notes, and snippets.

@chapmanjacobd
Created October 18, 2023 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chapmanjacobd/208a6b81678481a83170a83cf89940fb to your computer and use it in GitHub Desktop.
Save chapmanjacobd/208a6b81678481a83170a83cf89940fb to your computer and use it in GitHub Desktop.
GNU Parallel global timeout
timeout -s HUP 3s parallel --timeout 10 -j2 sleep {} ::: 10 12 15 10 8 15
string split ' ' 10 12 15 10 8 15 | timeout -s HUP 3s parallel --timeout 10 -j2 sleep {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment