From f52fa35ccc7d95b5ed83949aa2164f553ad02d21 Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Fri, 2 Aug 2024 15:57:45 -0400 Subject: [PATCH] remove shell --- collect.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/collect.py b/collect.py index 3449d9c..e568bca 100644 --- a/collect.py +++ b/collect.py @@ -449,9 +449,7 @@ def main(): with open("gstat.csv", "a") as output_file: # Create a Popen object with stdout redirected to the file - process = subprocess.Popen( - gstat_command, stdout=output_file, shell=True - ) + process = subprocess.Popen(gstat_command, stdout=output_file) collect_data(minutes)