When some scripts are executed, the stdout file is incomplete.