]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Document Subprocess as posix-only 1722/head
authorBen Darnell <ben@bendarnell.com>
Sun, 22 May 2016 01:32:13 +0000 (21:32 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 22 May 2016 01:32:13 +0000 (21:32 -0400)
Fixes #1585

tornado/process.py

index 64e77c72d17da12e9f47caeb33cce244c0d0bb65..a3545b0f914d06fa87aaf9d3505658f56aaf4352 100644 (file)
@@ -201,8 +201,14 @@ class Subprocess(object):
       attribute of the resulting Subprocess a `.PipeIOStream`.
     * A new keyword argument ``io_loop`` may be used to pass in an IOLoop.
 
+    The ``Subprocess.STREAM`` option and the ``set_exit_callback`` and
+    ``wait_for_exit`` methods do not work on Windows. There is
+    therefore no reason to use this class instead of
+    ``subprocess.Popen`` on that platform.
+
     .. versionchanged:: 4.1
        The ``io_loop`` argument is deprecated.
+
     """
     STREAM = object()