mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 01:10:57 +01:00
Merge pull request #2149 from xonsh/store_std_win
Update info on stdout storage on windows
This commit is contained in:
commit
c76310762c
1 changed files with 2 additions and 2 deletions
|
@ -449,8 +449,8 @@ Exciting Technical Detail: Teeing and Pseudo Terminals
|
||||||
Xonsh is able to capture all stdout and stderr transparently and responsively. For aliases,
|
Xonsh is able to capture all stdout and stderr transparently and responsively. For aliases,
|
||||||
Python code, or xonsh code, this isn't a big deal. It is easy to redirect information
|
Python code, or xonsh code, this isn't a big deal. It is easy to redirect information
|
||||||
flowing through ``sys.stdout`` and ``sys.stderr``. For subprocess commands, this is
|
flowing through ``sys.stdout`` and ``sys.stderr``. For subprocess commands, this is
|
||||||
considerably harder. (Subprocess stdout capturing is currently skipped on Windows, though
|
considerably harder. Storing stdout is disabled by default, but can be enabled by setting:
|
||||||
is theoretically possible.)
|
``$XONSH_STORE_STDOUT=True`` in your ``~/.xonshrc`` file.
|
||||||
|
|
||||||
To be able to tee stdout and stderr and still have the terminal responsive, xonsh implements
|
To be able to tee stdout and stderr and still have the terminal responsive, xonsh implements
|
||||||
its own teeing pseudo-terminal on top of the Python standard library ``pty`` module. You
|
its own teeing pseudo-terminal on top of the Python standard library ``pty`` module. You
|
||||||
|
|
Loading…
Add table
Reference in a new issue