diff --git a/collect.py b/collect.py index 506471f..a7f7ba3 100644 --- a/collect.py +++ b/collect.py @@ -449,7 +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, shell=True) + process = subprocess.Popen(gstat_command) collect_data(minutes)