rest25/library/pty.rst => rest262/library/pty.rst | ||
---|---|---|
38 | ||
39 | .. function:: spawn(argv[, master_read[, stdin_read]]) | |
40 | ||
41 | Spawn a process, and connect its controlling terminal with the current | |
42 | process's standard io. This is often used to baffle programs which insist on | |
43 | reading from the controlling terminal. | |
44 | ||
45 | The functions *master_read* and *stdin_read* should be functions which read from | |
t | 46- | a file-descriptor. The defaults try to read 1024 bytes each time they are |
t | 46+ | a file descriptor. The defaults try to read 1024 bytes each time they are |
47 | called. | |
48 |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
|