Lines Matching refs:close_fds
1962 # posix_spawn() may be used with close_fds=False
1963 for close_fds in (False, True):
1964 with self.subTest(user=user, close_fds=close_fds):
1970 close_fds=close_fds)
2010 # posix_spawn() may be used with close_fds=False
2011 for close_fds in (False, True):
2012 with self.subTest(group=group, close_fds=close_fds):
2018 close_fds=close_fds)
2352 close_fds=True,
2374 close_fds=True,
2730 stderr=subprocess.PIPE, close_fds=False)
2735 stdout=subprocess.PIPE, close_fds=False)
2756 close_fds=False)
2760 close_fds=False)
2806 stdout=subprocess.PIPE, close_fds=False)
2814 stdout=subprocess.PIPE, close_fds=True)
2826 stdout=subprocess.PIPE, close_fds=True,
2850 # process with close_fds=False to run the actual test:
2852 # subprocess with close_fds=True so we can find out if
2887 # with close_fds=True to get a report of open fds in the child.
2897 close_fds=True).wait()
2899 close_fds=False).wait()
2935 stdout=subprocess.PIPE, close_fds=True,
2946 # pass_fds overrides close_fds with a warning.
2950 close_fds=False, pass_fds=(fd, )))
2951 self.assertIn('overriding close_fds', str(context.warning))
2966 stdout=subprocess.PIPE, close_fds=True,
3001 close_fds=True,
3131 stdout=subprocess.PIPE, close_fds=True,
3421 close_fds=True)
3438 stdout=subprocess.PIPE, close_fds=False)
3445 stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True)
3457 startupinfo=startupinfo, close_fds=True)
3462 # Check for a warning due to using handle_list and close_fds=False
3463 with warnings_helper.check_warnings((".*overriding close_fds",
3470 startupinfo=startupinfo, close_fds=False)