From ba69f77731c6936edd4a8aa86aba44b51532b497 Mon Sep 17 00:00:00 2001 From: Fujii Hironori Date: Tue, 31 Oct 2023 15:04:08 +0900 Subject: [PATCH] mod --- _posts/2019-05-13-powershell-stderr-errorrecord.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_posts/2019-05-13-powershell-stderr-errorrecord.md b/_posts/2019-05-13-powershell-stderr-errorrecord.md index d4a1b24..6d62f2c 100644 --- a/_posts/2019-05-13-powershell-stderr-errorrecord.md +++ b/_posts/2019-05-13-powershell-stderr-errorrecord.md @@ -70,3 +70,10 @@ function Invoke-NativeCommand($command) { Start-Process で起動したプロセスはコンソールに出力されるようである。 * [PowerShell: Running Executables - TechNet Articles](https://social.technet.microsoft.com/wiki/contents/articles/7703.powershell-running-executables.aspx) + +## PowerShell 7.1 + +PowerShell 7.1 で [改修された](https://learn.microsoft.com/en-us/previous-versions/powershell/scripting/whats-new/what-s-new-in-powershell-71?view=powershell-7.1#breaking-changes-and-improvements) 。 + +- Fix $? to not be $false when native command writes to stderr (#13395) +- Make $ErrorActionPreference not affect stderr output of native commands (#13361)