Python executor: Execution command and prepare environment log