This commit is contained in:
a 2020-09-25 00:16:49 +03:00
parent 033c8c6009
commit 48e16455b8

View file

@ -55,7 +55,7 @@ line is ``#!/usr/bin/env xonsh``.
- ``_.rtn``
- Returns the exit code, or status, of the previous command. The underscore ``_`` is working
in the prompt mode. To get the exit code of the command in xonsh script
use captured subprocess `!().rtn`.
use captured subprocess ``!().rtn``.
* - ``N=V command``
- ``$N=V command`` or ``with ${...}.swap(N=V): command``
- Set temporary environment variable(s) and execute the command.