I am calling an executable from a python script using subprocess
and later doing couple of stuff on the file that the executable gives as output, by reading it separately. Is it possible to catch this output file as a file object or by any other method, and not have the file created?
Edit: I'm on Xubuntu and I am a beginner at bash scripting. The executable reads two files from a directory (path known, but separate from the one where my code is), and writes one output file there itself. I can't pipe std output instead of reading the file.