Flush the stdout in the commit command