runs another program with environment modified according to envfile