Skip to content

Commit

Permalink
cmsDriver.py: flush stdout buffer before call to os.execvpe
Browse files Browse the repository at this point in the history
  • Loading branch information
missirol committed Feb 1, 2023
1 parent a830033 commit ebbd94a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Configuration/Applications/scripts/cmsDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()



0 comments on commit ebbd94a

Please sign in to comment.