Created
May 31, 2019 13:59
-
-
Save NeilW/e73d21a3b62489194da88f9684038eb9 to your computer and use it in GitHub Desktop.
Undead creator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
post_start_fg() { | |
sleep 2 | |
echo "Post Hooks" | |
} | |
echo "In Main" | |
post_start_fg & | |
echo "Now start long running process" | |
exec sleep 45 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment