mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
adjust docs
This commit is contained in:
@@ -357,15 +357,12 @@ the process is running, this procedure accumulates the output of its stdout
|
|||||||
and stderr streams and returns byte slices containing the captured data from
|
and stderr streams and returns byte slices containing the captured data from
|
||||||
the streams.
|
the streams.
|
||||||
|
|
||||||
Use this function when the target process doesn't require any input from stdin,
|
This procedure expects that `stdout` and `stderr` fields of the `desc` parameter
|
||||||
in order to complete.
|
are left at default, i.e. a `nil` value. You can not capture stdout/stderr and
|
||||||
|
redirect it to a file at the same time.
|
||||||
|
|
||||||
This procedure does not free `stdout` and `stderr` slices before an error is
|
This procedure does not free `stdout` and `stderr` slices before an error is
|
||||||
returned. Make sure to call `delete` on these slices.
|
returned. Make sure to call `delete` on these slices.
|
||||||
|
|
||||||
This procedure is not thread-safe. It may alter the inheritance properties
|
|
||||||
of file handles in an unpredictable manner. In case multiple threads change
|
|
||||||
handle inheritance properties, make sure to serialize all those calls.
|
|
||||||
*/
|
*/
|
||||||
@(require_results)
|
@(require_results)
|
||||||
process_exec :: proc(
|
process_exec :: proc(
|
||||||
|
|||||||
Reference in New Issue
Block a user