Skip to content

Look into creating a shared subprocess implementation between backends #783

Description

@agronholm

Things to check first

  • I have searched the existing issues and didn't find my feature already requested there

Feature description

We should take a stab at creating a more low-level subprocess implementation that only relies on a minimum set of functionality from each backend, just like the threading API.

Use case

Currently the asyncio subprocess API is a bit iffy from AnyIO's perspective. There are a lot of moving parts which we don't control, and cases where we use undocumented methods (StreamReader.set_exception() as an example). A new implementation, if possible, might make it easier to further develop the AnyIO subprocess APIs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions