Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ _get_devnull
Method
_get_devnull
tools/python-3.11.9-amd64/Lib/subprocess.py:1135–1138 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1133
_active.append(self)
1134
1135
def
_get_devnull(self):
1136
if
not hasattr(self,
'_devnull'
):
1137
self._devnull = os.open(os.devnull, os.O_RDWR)
1138
return
self._devnull
1139
1140
def
_stdin_write(self, input):
1141
if
input:
Callers
1
_get_handles
Method · 0.95
Calls
1
open
Method · 0.45
Tested by
no test coverage detected