feat(run_cmd): expand environment variables