Windows PowerShell ISE doesn't promt for input

前端 未结 2 1295
萌比男神i
萌比男神i 2020-12-11 16:16

I am using console as my tool for managing mercurial repositories. Wtih classic cmd or Console2 I type:

hg in
2条回答
  •  攒了一身酷
    2020-12-11 16:52

    Powershell ISE ( integrated scripting environment ) is not the standard Powershell console. The ISE, like the name suggests, is a pretty basic GUI based script writing tool and doesn't support interactive console applications ( try just cmd on the ISE console and see the error message)

    Open powershell.exe, and run the command that you want. It will behave pretty much like cmd. Or alternatively, press CTRL+SHIFT+P in the ISE and run the command there.

提交回复
热议问题