From 51d379d40d14d35ccb8e4038504d6c0cda9be62c Mon Sep 17 00:00:00 2001 From: Enan Ajmain <3nan.ajmain@gmail.com> Date: Tue, 4 Oct 2022 02:14:18 +0600 Subject: [PATCH] docs(shell): mention "&" for piping with powershell #20459 New behaviour since PR #19438 --- runtime/doc/various.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index cae9c76030..cd178cfbbb 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -259,6 +259,10 @@ g8 Print the hex values of the bytes used in the or stderr, the streams are closed immediately. |E5677| Use |jobstart()| instead. > :call jobstart('foo', {'detach':1}) +< + For powershell, chaining a stringed executable path + requires using the call operator (&). > + :!Write-Output "1`n2" | & "C:\Windows\System32\sort.exe" /r < *E34* Any "!" in {cmd} is replaced with the previous