mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 21:02:25 +01:00
14 lines
608 B
Diff
14 lines
608 B
Diff
diff --git a/visidata/shell.py b/visidata/shell.py
|
|
index ed6d7678..3fee234f 100644
|
|
--- a/visidata/shell.py
|
|
+++ b/visidata/shell.py
|
|
@@ -79,7 +79,7 @@ class ColumnShell(Column):
|
|
arg = shlex.quote(str(context[arg[1:]]))
|
|
args.append(arg)
|
|
|
|
- p = subprocess.Popen([os.getenv('SHELL', 'bash'), '-c', shlex.join(args)],
|
|
+ p = subprocess.Popen([os.getenv('SHELL', 'sh'), '-c', shlex.join(args)],
|
|
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
return p.communicate()
|
|
except Exception as e:
|