From 94162ec6cbadaf437ffc7b4ad66151cd24dbac07 Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Tue, 27 Nov 2012 13:47:04 +0200 Subject: [PATCH] foldermenu uses bash --- foldermenu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foldermenu.py b/foldermenu.py index 71f2f34..bd0f59e 100755 --- a/foldermenu.py +++ b/foldermenu.py @@ -171,9 +171,9 @@ def launch(key,entries,args=""): try: print('#$ '+command_str) if bg: - subprocess.Popen(command_str, stderr=subprocess.PIPE, shell=True) + subprocess.Popen(command_str, stderr=subprocess.PIPE, shell=True,executable="/bin/bash") else: - subprocess.call(command_str, stderr=subprocess.STDOUT, shell=True) + subprocess.call(command_str, stderr=subprocess.STDOUT, shell=True,executable="/bin/bash") except: print('Unable to run: "'+command_str+'"')