From 688d6a48e73bb87437abdc9fc014fb305fe945d5 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 7 Jan 2025 20:44:49 +0300 Subject: feat: remove shell True to for debug. --- gn3/api/rqtl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gn3/api') 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 ) -- cgit 1.4.1