foldermenu uses bash

This commit is contained in:
ville rantanen
2012-11-27 13:47:04 +02:00
parent f6f05a1111
commit 94162ec6cb

View File

@@ -171,9 +171,9 @@ def launch(key,entries,args=""):
try: try:
print('#$ '+command_str) print('#$ '+command_str)
if bg: if bg:
subprocess.Popen(command_str, stderr=subprocess.PIPE, shell=True) subprocess.Popen(command_str, stderr=subprocess.PIPE, shell=True,executable="/bin/bash")
else: else:
subprocess.call(command_str, stderr=subprocess.STDOUT, shell=True) subprocess.call(command_str, stderr=subprocess.STDOUT, shell=True,executable="/bin/bash")
except: except:
print('Unable to run: "'+command_str+'"') print('Unable to run: "'+command_str+'"')