remove shell

This commit is contained in:
Marc Mance
2024-08-02 15:57:45 -04:00
parent c6d9aedcf7
commit f52fa35ccc

View File

@@ -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)