diff options
| author | Alexander_Kabui | 2025-01-07 20:44:49 +0300 |
|---|---|---|
| committer | Alexander_Kabui | 2025-01-07 20:44:49 +0300 |
| commit | 688d6a48e73bb87437abdc9fc014fb305fe945d5 (patch) | |
| tree | 969413982f56f6ef7920205a011561ab5ee1c346 /gn3/api/rqtl.py | |
| parent | 95f7d112a4e4ec99aa3641876186bc7a906dad2e (diff) | |
| download | genenetwork3-688d6a48e73bb87437abdc9fc014fb305fe945d5.tar.gz | |
feat: remove shell True to for debug.
Diffstat (limited to 'gn3/api/rqtl.py')
| -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 ) |
