[X] I have searched the existing issues and didn't find my feature already requested there
Feature description
Accept **kwargs in anyio.run_process and anyio.open_process and pass those to underlying asyncio.create_subprocess_exec, asyncio.create_subprocess_shell or trio._subprocess.open_process
Use case
subprocess.Popen allows to pass a number of kwargs to manage process behavior (most of which are OS-dependent)
Currently it seems not possible to pass most of these to anyio's wrappers anyio.open_process and anyio.run_process, but it would be beneficial to have.
Things to check first
Feature description
Accept
**kwargs
inanyio.run_process
andanyio.open_process
and pass those to underlyingasyncio.create_subprocess_exec
,asyncio.create_subprocess_shell
ortrio._subprocess.open_process
Use case
subprocess.Popen
allows to pass a number of kwargs to manage process behavior (most of which are OS-dependent)Currently it seems not possible to pass most of these to anyio's wrappers
anyio.open_process
andanyio.run_process
, but it would be beneficial to have.