From 28df75075dfd22d0815789f9ba0123c6c0d95c04 Mon Sep 17 00:00:00 2001 From: jsimonrichard Date: Fri, 2 Jul 2021 14:31:26 -0400 Subject: [PATCH] Redirect python executable check to /dev/null --- src/argparse.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/argparse.bash b/src/argparse.bash index 606cfc2f..665c1e41 100644 --- a/src/argparse.bash +++ b/src/argparse.bash @@ -13,9 +13,9 @@ # MIT License - Copyright (c) 2015 Noah Hoffman # Get python executable -if which python; then +if which python > /dev/null; then PYTHON=$(which python) -elif which python3; then +elif which python3 > /dev/null; then PYTHON=$(which python3) else echo "No python 3 executable found"