[Refactor] Extract #environment_var_assignments from Subject#run
Keep command line compatible