I want to get an input stream from a system command in this manner:
f = open("|ls")
while( [not end of output] )
but I would like it to be platform independent. The output of the
command I’ll be using is massive (hundreds of GB) so I cannot load to
memory or write to a temp file. Is there a good platform-independent way
to do this?