Lines Matching refs:communicate
285 out, err = p.communicate()
584 stdout, stderr = p.communicate()
632 out, err = p.communicate()
669 stdout, stderr = p.communicate()
694 stdout, stderr = p.communicate()
738 stdout, stderr = p.communicate()
746 p.communicate(b"pear")
753 (stdout, stderr) = p.communicate()
761 (stdout, stderr) = p.communicate()
776 (stdout, stderr) = p.communicate(b"banana")
791 self.assertRaises(subprocess.TimeoutExpired, p.communicate, "banana",
795 (stdout, stderr) = p.communicate()
811 self.assertRaises(subprocess.TimeoutExpired, p.communicate, timeout=0.4)
812 (stdout, _) = p.communicate()
830 p.communicate()
842 (stdout, stderr) = p.communicate()
866 (stdout, stderr) = p.communicate(string_to_write)
881 (stdout, stderr) = p.communicate(b"split")
945 (stdout, stderr) = p.communicate()
960 (stdout, stderr) = p.communicate("line1\nline3\n")
972 p.communicate()
996 (stdout, stderr) = p.communicate("line1\nline3\n")
1022 stdout, stderr = popen.communicate(input='')
1043 stdout, stderr = popen.communicate(input='')
1078 data = p.communicate(b"lime")[0]
1226 stderr = proc.communicate()[1]
1351 p.communicate(b"x" * 2**20)
1368 proc.communicate(input='exit...\n')
1383 p.communicate(b"x" * 2**20)
1405 process.communicate()
2243 p.communicate()
2247 _, stderr = p.communicate()
2253 _, stderr = p.communicate()
2259 _, stderr = p.communicate()
2307 stderr=subprocess.PIPE).communicate()
2590 self.addCleanup(p1.communicate, b'')
2595 output, error = p2.communicate()
2665 output, ignored = p.communicate()
2673 output, ignored = p.communicate()
2686 output, ignored = p.communicate()
2762 output, unused_stderr = p.communicate()
2795 output, ignored = p.communicate()
2826 output, ignored = p.communicate()
2891 stdout, stderr = p.communicate()
2990 output, ignored = p.communicate()
3084 proc.communicate() # Should swallow BrokenPipeError from close.
3093 proc.communicate(b'stuff') # Should swallow the BrokenPipeError.
3109 proc.communicate(b'stuff')
3121 proc.communicate(timeout=999)
3182 proc.communicate(timeout=0.1)
3238 proc.communicate()
3295 stdout, stderr = p.communicate()
3302 stdout, stderr = p.communicate()
3314 stdout, stderr = p.communicate()
3326 stdout, stderr = p.communicate()
3395 _, stderr = p.communicate()
3418 _, stderr = p.communicate()
3625 proc.communicate(b"context")