From e195f8fe1a83025cb3c23bcdcc8072bbd90d61c3 Mon Sep 17 00:00:00 2001 From: Jan Kieseler Date: Fri, 13 Dec 2024 11:53:11 +0100 Subject: [PATCH] small fix --- bind/G4Calo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bind/G4Calo.py b/bind/G4Calo.py index f78d3d3..77e5b75 100644 --- a/bind/G4Calo.py +++ b/bind/G4Calo.py @@ -52,10 +52,10 @@ def _run_mini_batch( with TempFileManager() as tfm: tfm.dump_input(to_process) if silent: - subprocess.run(["python", "G4Calo_exec.py", tfm.input_file, tfm.output_file], + subprocess.run(["G4Calo_exec.py", tfm.input_file, tfm.output_file], stdout=subprocess.DEVNULL)#, stderr=subprocess.DEVNULL) else: - subprocess.run(["python", "G4Calo_exec.py", tfm.input_file, tfm.output_file]) + subprocess.run(["G4Calo_exec.py", tfm.input_file, tfm.output_file]) data = tfm.read_output() if return_geometry: return data['df'], data['geometry']