Skip to content

Instantly share code, notes, and snippets.

@KONFeature
Created October 7, 2022 14:35
Show Gist options
  • Save KONFeature/6100042e6dd131d11c47500b0c708cb9 to your computer and use it in GitHub Desktop.
Save KONFeature/6100042e6dd131d11c47500b0c708cb9 to your computer and use it in GitHub Desktop.
Run all the scripts with nohup
#!/bin/bash
# Assert we are on the root folder
if [ ! -d "contracts" ]; then
echo "error: script needs to be run from project root './tools/run-all-nohup.sh'"
exit 1
fi
# Exec the run all script with nohup
nohup sh tools/run-all.sh > tools/logs/security-analysis.log 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment