You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/reference/reference_lua/popen.rst
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,7 @@ Below is a list of all ``popen`` functions and handle methods.
258
258
method is not called for a handle during its lifetime, the
259
259
Lua GC will trigger the same freeing actions.
260
260
261
-
Since version 3.2.0, the ``inherit.fds`` option is added to the ``opts``
261
+
Since version :doc:`3.2.0</release/3.2.0>`, the ``inherit_fds`` option is added to the ``opts``
262
262
table. The option allows define file descriptor numbers that should be
263
263
left open in the child process if the ``close_fds`` flag is set to ``true``.
264
264
@@ -746,7 +746,7 @@ Below is a list of all ``popen`` functions and handle methods.
746
746
:param handle ph: handle of a child process created with
747
747
:ref:`popen.new() <popen-new>` or
748
748
:ref:`popen.shell() <popen-shell>`
749
-
:param number timeout: since version 3.2.0. The parameter defines the period in seconds for the method to wait for a resolution. The default value is "infinity".
749
+
:param number timeout: since version :doc:`3.2.0</release/3.2.0>`. The parameter defines the period in seconds for the method to wait for a resolution. The default value is "infinity".
750
750
:return: (if success) formatted result
751
751
752
752
(if failure) ``nil, err``
@@ -760,8 +760,8 @@ Below is a list of all ``popen`` functions and handle methods.
760
760
761
761
Possible error reasons when ``nil, err`` is returned are:
762
762
763
-
* ``TimedOut``: since version 3.2.0. The error means that the method has not reached the positive result but has reached the defined **timeout**.
764
-
* ``ChannelIsClosed``: since version 3.2.0. The error is returned when the target popen handle is closed during the :wait() operation.
763
+
* ``TimedOut``: since version :doc:`3.2.0</release/3.2.0>`. The error means that the method has not reached the positive result but has reached the defined **timeout**.
764
+
* ``ChannelIsClosed``: since version :doc:`3.2.0</release/3.2.0>`. The error is returned when the target popen handle is closed during the :wait() operation.
765
765
766
766
The formatted result is a process status table (the same as the
0 commit comments