Skip to content

Commit d622def

Browse files
authored
Update and simplify Escaping to the System Windows Note (#1639)
The history note (historic behavior, in the past) is very old. It has little value in the current docs. The "shell built-ins" wording and description may not be obvious to readers. The Coming from CMD.EXE documents the internal command forwarding as well as other relations between the two shells. Here, in 'Escaping the System', we should focus on the aspect of escaping to the system, only give a general description and note, and reference to the more definitive and exhaustive documentation.
1 parent 1257bc5 commit d622def

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

book/escaping.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ Escape to external command:
1616

1717
## Windows Note
1818

19-
When running an external command on Windows, nushell [used to](https://www.nushell.sh/blog/2022-08-16-nushell-0_67.html#windows-cmd-exe-changes-rgwood) use [Cmd.exe](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmd) to run the command, as a number of common commands on Windows are actually shell builtins and not available as separate executables. [Coming from CMD.EXE](coming_from_cmd.md) contains a list of these commands and how to map them to nushell native concepts.
19+
When running an external command on Windows,
20+
Nushell forwards some CMD.EXE internal commands to cmd instead of attempting to run external commands.
21+
[Coming from CMD.EXE](coming_from_cmd.md) contains a list of these commands and describes the behavior in more detail.

0 commit comments

Comments
 (0)