os.execle()

os.execle(file, *args, env)[source]

Execute the executable file with argument list args and environment env, replacing the current process.