os.execl()

os.execl(file, *args)[source]

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