stdin in the console

Hi,

My scripts use getpass() to read passwords from the command line.  At the moment I cannot run them via PyCharm and have to switch over to the real CMI.  Whenever a script running under PyCharm hits readpass(), it stops as if waiting for input, but there is no prompt showing up in the console and typing into the console doesn't seem to be piped into the script.  Is there there a configuration option I'm missing?

Thanks

Dmitry

1
1 comment

Hello Dmitry,

This is unfortunately the behavior of getpass() itself. We do some hacking

to have getpass() work correctly in Django and App Engine run configurations,

but don't currently apply that to regular Python scripts. It's probably worth

filing a YouTrack issue for this problem.

My scripts use getpass() to read passwords from the command line.  At

the moment I cannot run them via PyCharm and have to switch over to

the real CMI.  Whenever a script running under PyCharm hits

readpass(), it stops as if waiting for input, but there is no prompt

showing up in the console and typing into the console doesn't seem to

be piped into the script.  Is there there a configuration option I'm

missing?

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.