From ebbd94afa9f8032c0d2b6fcc996d28cece4399f7 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 a99a87a924f7e..5185e73165b86 100755 --- a/Configuration/Applications/scripts/cmsDriver.py +++ b/Configuration/Applications/scripts/cmsDriver.py @@ -50,10 +50,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() - - -