aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn2/wqflask/edit.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gn2/wqflask/edit.py b/gn2/wqflask/edit.py
index a3e684cf..7abba0b5 100644
--- a/gn2/wqflask/edit.py
+++ b/gn2/wqflask/edit.py
@@ -27,8 +27,7 @@ def save_dataset_metadata(
@curry(2)
def __run_cmd(cmd, status_code):
__result = subprocess.run(
- cmd.split(" "), shell=True,
- capture_output=True
+ cmd, capture_output=True
)
if __result.stderr or status_code != 0:
return Left({