root / trunk / twisted / internet / stdio.py

Revision 24441, 0.9 kB (checked in by thijs, 1 year ago)

Merge maintainer-email-2438: Get rid of references to maintainer email addresses from code.

Author: thijs
Reviewer: exarkun
Fixes: #2438

Line 
1 # -*- test-case-name: twisted.test.test_process.ProcessTestCase.testStdio -*-
2
3 # Copyright (c) 2001-2004 Twisted Matrix Laboratories.
4 # See LICENSE for details.
5
6 """
7 Standard input/out/err support.
8
9 This module exposes one name, StandardIO, which is a factory that takes an
10 IProtocol provider as an argument.  It connects that protocol to standard input
11 and output on the current process.
12
13 It should work on any UNIX and also on Win32 (with some caveats: due to
14 platform limitations, it will perform very poorly on Win32).
15
16 Future Plans::
17
18     support for stderr, perhaps
19     Rewrite to use the reactor instead of an ad-hoc mechanism for connecting
20         protocols to transport.
21
22
23 Maintainer: James Y Knight
24 """
25
26 from twisted.python.runtime import platform
27
28 if platform.isWindows():
29     from twisted.internet._win32stdio import StandardIO
30 else:
31     from twisted.internet._posixstdio import StandardIO
Note: See TracBrowser for help on using the browser.