MCPcopy 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_basicMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by 2

test_expect_basicMethod · 0.76