streaming popen example