From 9dd3dd569dd486281b125d191a2be9400384a28b Mon Sep 17 00:00:00 2001 From: Marino Missiroli Date: Sun, 29 Jan 2023 08:55:16 +0100 Subject: [PATCH] cmsDriver.py: flush stdout buffer before call to os.execvpe --- Configuration/Applications/scripts/cmsDriver.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Configuration/Applications/scripts/cmsDriver.py b/Configuration/Applications/scripts/cmsDriver.py index f20e353075101..90009fe476106 100755 --- a/Configuration/Applications/scripts/cmsDriver.py +++ b/Configuration/Applications/scripts/cmsDriver.py @@ -45,10 +45,8 @@ def run(): commandString = options.prefix+" cmsRun "+options.suffix print("Starting "+commandString+' '+options.python_filename) commands = commandString.lstrip().split() + sys.stdout.flush() os.execvpe(commands[0],commands+[options.python_filename],os.environ) sys.exit() run() - - -