posix.popen()

posix.popen(command[, mode='r'[, bufsize]]) → pipe

Open a pipe to/from a command returning a file object.