Created
December 3, 2020 08:56
-
-
Save adamdry/d842649f24efbf912b530397d941e103 to your computer and use it in GitHub Desktop.
Kill all postman processes
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
#!/bin/bash | |
OUTPUT=$(killall Postman 2>&1) | |
while [ "$OUTPUT" != "Postman: no process found" ]; do | |
OUTPUT=$(killall Postman 2>&1) | |
done | |
OUTPUT=$(killall _Postman 2>&1) | |
while [ "$OUTPUT" != "_Postman: no process found" ]; do | |
OUTPUT=$(killall _Postman 2>&1) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment