summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hiccup3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/hiccup b/bin/hiccup
index 2f0dc99..d65b650 100755
--- a/bin/hiccup
+++ b/bin/hiccup
@@ -58,7 +58,7 @@ class CurrentDistro:
return subprocess.run(
cmd,
check=True,
- executable=os.path.join("/usr/bin/", executable),
+ executable=executable,
shell=True)
def __run_items(self, msg: str, dct: dict, name_as_cmd=False):
@@ -120,6 +120,7 @@ def get_os_release():
p: subprocess.Popen = subprocess.Popen(
cmd,
shell=True,
+ executable='bash',
stdout=subprocess.PIPE)
return str(p.communicate()[0], 'UTF-8').strip()