4 ms·
And it is so wonderously mistaken in assigning a boolean type to $?. I really cannot fathom how this could be, as Microsoft bundles curl, which has nearly 100
by chasil 4y ago
And it is so wonderously mistaken in assigning a boolean type to $?.
I really cannot fathom how this could be, as Microsoft bundles curl, which has nearly 100 exit codes on various types of failure.
Whoever made this language decision needs to explain themselves.
- delta_p_delta_x 4y ago> And it is so wonderously mistaken in assigning a boolean type to $? Use $LASTEXITCODE for native executables, and $? for PowerShell cmdlets. https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_automatic_variables?view=powershell-7.3#lastexitcode https://learn.microsoft.com/en-us/powershell/module/microsof...