about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn3/api/rqtl.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gn3/api/rqtl.py b/gn3/api/rqtl.py
index b3f71f7..1139d9e 100644
--- a/gn3/api/rqtl.py
+++ b/gn3/api/rqtl.py
@@ -87,10 +87,8 @@ def run_process(rscript_cmd, output_file, run_id):
     """Main function to do the streaming"""
     # TODO: move this function to own file
     # pylint: disable=consider-using-with
-    # added this inorder not to set shell=True
-    rscript_cmd = rscript_cmd.split()
     process = subprocess.Popen(
-        rscript_cmd,
+        rscript_cmd, shell=True,
         stdout=subprocess.PIPE,
         stderr=subprocess.STDOUT
     )