in reply to Re: system stdout redirected ok to a file but not to a variable.
in thread system stdout redirected ok to a file but not to a variable.

Don’t worry excessively about that.   Temporary files get created and deleted all the time, even when you are not aware of it, in the ordinary course of the computer’s daily activities.   (File::Temp might be handy here.)   If you happen to be working in the Windows environment, you may encounter some of the subtle differences between the two systems.   I also notice that the perldoc page for IPC::Open3 seems to suggest that the author thinks that IPC::Run is “better,” although I notice also that it is quite a bit more feature-laden.