Here's my attempt, I modified it to pass NULL to spawn on the C side, and when spawn gets NULL, it leaves environ intact. I'm not entirely sure that it's the right way to go. But it works, and it also reduces consing.
Here's my attempt, I modified it to pass NULL to spawn on the C side, and when spawn gets NULL, it leaves environ intact. I'm not entirely sure that it's the right way to go. But it works, and it also reduces consing.