You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per microsoft/terminal#217 - originally created when I wanted to be able to Ctrl-C things like yarn and gulp without being confirmed - Microsoft strongly recommend against creating new .cmd files.
If you're writing Windows Command-Line scripts today, they should be PowerShell scripts wherever possible
Moving yarn.cmd and yarnpkg.cmd (which are tiny) to .ps1 would allow users to cancel them without having a silly confirmation prompot, and probably also avoid other unforeseen drama due to cmd being unmaintained.
Happy to send a PR, just wanted to discuss first.
The text was updated successfully, but these errors were encountered:
mikemaccana
changed the title
Ctrl C doesn't work, cmd is no longer maintained, yarn.cmd and yarnpkg.cmd should be ps1
Ctrl C doesn't work, Microsoft recommend not using cmd in new software, yarn.cmd and yarnpkg.cmd should be ps1
Jul 13, 2018
Per microsoft/terminal#217 - originally created when I wanted to be able to
Ctrl-C
things likeyarn
andgulp
without being confirmed - Microsoft strongly recommend against creating new.cmd
files.From various Microsoft staff (and echoed repeatedly in microsoft/terminal#217)
Moving
yarn.cmd
andyarnpkg.cmd
(which are tiny) to.ps1
would allow users to cancel them without having a silly confirmation prompot, and probably also avoid other unforeseen drama due tocmd
being unmaintained.Happy to send a PR, just wanted to discuss first.
The text was updated successfully, but these errors were encountered: