use cmd_ctrl/run_cmd_in_batch.sh to run commands in batch mode.