Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • C cpython
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • cpython
  • Repository
You need to sign in or sign up before continuing.
  • cpython
  • Lib
  • subprocess.py
Find file BlameHistoryPermalink
  • Gregory P. Smith's avatar
    Fixes issue #16140: The subprocess module no longer double closes its · c8ac03d9
    Gregory P. Smith authored Nov 11, 2012
    child subprocess.PIPE parent file descriptors on child error prior to
    exec().
    
    This would lead to race conditions in multithreaded programs where
    another thread opened a file reusing the fd which was then closed out
    from beneath it by the errant second close.
    c8ac03d9
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7