Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Write Posix Shell. Parent comment
Use $LASTEXITCODE for native executables, and $? for PowerShell cmdlets.
https://learn.microsoft.com/en-us/powershell/module/microsof...
There are no comments on this comment yet.
Use $LASTEXITCODE for native executables, and $? for PowerShell cmdlets.
https://learn.microsoft.com/en-us/powershell/module/microsof...