diff options
| -rw-r--r-- | gn3/api/rqtl.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gn3/api/rqtl.py b/gn3/api/rqtl.py index 1139d9e..b3f71f7 100644 --- a/gn3/api/rqtl.py +++ b/gn3/api/rqtl.py @@ -87,8 +87,10 @@ 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, shell=True, + rscript_cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT ) |
