Add os._exit(0) to end of auto generated python script so it terminates and returns control to commandline