Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pexpect/pexpect
/ sendeof
Method
sendeof
pexpect/popen_spawn.py:186–188 ·
view source on GitHub ↗
Closes the stdin pipe from the writing end.
(self)
Source
from the content-addressed store, hash-verified
184
os.kill(self.proc.pid, sig)
185
186
def
sendeof(self):
187
''
'Closes the stdin pipe from the writing end.'
''
188
self.proc.stdin.close()
Callers
2
test_expect_basic
Method · 0.95
test_expect_exact_basic
Method · 0.95
Calls
1
close
Method · 0.45
Tested by
2
test_expect_basic
Method · 0.76
test_expect_exact_basic
Method · 0.76