fix(scheduler): send environment to the process