Stop other output messing up env command

@springmeyer I think think this line was what was leaking output?

So I tried this, will see if it fixes it.