Skip to content

Instantly share code, notes, and snippets.

@jpluscplusm
Created August 14, 2014 09:38
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 jpluscplusm/d5ca9fe465464f71d21e to your computer and use it in GitHub Desktop.
Save jpluscplusm/d5ca9fe465464f71d21e to your computer and use it in GitHub Desktop.
problem:
FOO=bar sleep inf
no-problem:
sleep inf
make no-problem &
sleep 1
pkill -u${USER} make
ps axu | grep "sleep [i]nf"
make problem &
sleep 1
pkill -u${USER} make
ps axu | grep "sleep [i]nf"
pkill -u${USER} sleep
@jpluscplusm
Copy link
Author

gistfile1.txt should be Makefile, of course

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment