passing in all environment variables when forking, #1714