@@ -80,14 +80,14 @@ if sys.version_info >= (3, 11):
8080 stdout : int | IO [Any ] | None = None ,
8181 stderr : int | IO [Any ] | None = None ,
8282 limit : int = 65536 ,
83- # These parameters are forced to these values by BaseEventLoop.subprocess_shell
83+ # These parameters are forced to these values by BaseEventLoop.subprocess_exec
8484 universal_newlines : Literal [False ] = False ,
85- shell : Literal [True ] = True ,
85+ shell : Literal [False ] = False ,
8686 bufsize : Literal [0 ] = 0 ,
8787 encoding : None = None ,
8888 errors : None = None ,
89+ text : Literal [False ] | None = None ,
8990 # These parameters are taken by subprocess.Popen, which this ultimately delegates to
90- text : bool | None = None ,
9191 executable : StrOrBytesPath | None = None ,
9292 preexec_fn : Callable [[], Any ] | None = None ,
9393 close_fds : bool = True ,
@@ -145,14 +145,14 @@ elif sys.version_info >= (3, 10):
145145 stdout : int | IO [Any ] | None = None ,
146146 stderr : int | IO [Any ] | None = None ,
147147 limit : int = 65536 ,
148- # These parameters are forced to these values by BaseEventLoop.subprocess_shell
148+ # These parameters are forced to these values by BaseEventLoop.subprocess_exec
149149 universal_newlines : Literal [False ] = False ,
150- shell : Literal [True ] = True ,
150+ shell : Literal [False ] = False ,
151151 bufsize : Literal [0 ] = 0 ,
152152 encoding : None = None ,
153153 errors : None = None ,
154+ text : Literal [False ] | None = None ,
154155 # These parameters are taken by subprocess.Popen, which this ultimately delegates to
155- text : bool | None = None ,
156156 executable : StrOrBytesPath | None = None ,
157157 preexec_fn : Callable [[], Any ] | None = None ,
158158 close_fds : bool = True ,
@@ -210,14 +210,14 @@ else: # >= 3.9
210210 stderr : int | IO [Any ] | None = None ,
211211 loop : events .AbstractEventLoop | None = None ,
212212 limit : int = 65536 ,
213- # These parameters are forced to these values by BaseEventLoop.subprocess_shell
213+ # These parameters are forced to these values by BaseEventLoop.subprocess_exec
214214 universal_newlines : Literal [False ] = False ,
215- shell : Literal [True ] = True ,
215+ shell : Literal [False ] = False ,
216216 bufsize : Literal [0 ] = 0 ,
217217 encoding : None = None ,
218218 errors : None = None ,
219+ text : Literal [False ] | None = None ,
219220 # These parameters are taken by subprocess.Popen, which this ultimately delegates to
220- text : bool | None = None ,
221221 executable : StrOrBytesPath | None = None ,
222222 preexec_fn : Callable [[], Any ] | None = None ,
223223 close_fds : bool = True ,
0 commit comments