Windows PowerShell ISE doesn't promt for input

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

hg in

And console prompts something like:

D:\workspace\someproject>hg in
http authorization required
realm: HTTP
user: xorty

And obviously, I type password.

But when I type "hg in" in powershell console, it doesn't prompt anything. It just keeps saying this: Running script / selection. Press Ctrl + Break to stop

Can I make PowerShell ISE behave like classic console, or this isn't the way PowerShell is meant to work?


The PowerShell ISE indeed does not support console applications that require interactive input. The linked blog entry details options how to deal with that.

Since the PowerShell ISE is not a console, normal console applications cannot do everything they're used to, while of course PowerShell cmdlets can work just fine, since several things are dependent on the PowerShell host application (you get a graphical prompt with Read-Host, for example).

Console2 emulates a normal console by keeping the actual console around in a hidden window and polling it repeatedly for changes and, correspondingly, sending input to that window.

Need Your Help

Fastest way to learn Zend Framework?

php security model-view-controller zend-framework

If you already have a website design in mind and want to just use Zend Framework's modules (mainly the one's for security and performance) how would you go about learning Zend for rapid web develop...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.