I am currently writing a programs that runs cshell and bash scripts created by other people. i am using subprocess.popen to call these scripts. some of these scripts have large stdout outputs exceeeding 64k which apparently is an issue for this function causing it to hang. i would like to capture the ouptut. are there better alternitives