Bash Prompt Not Prompting

For some reason this command spontaneously stopped working when running the script:

 

read -p "Prompt Text: " my_var

 

The command does not display the "Prompt Text: "

 

I can still provide user input but for some reason the prompt text doesn't show up.


It was working fine before and all of a sudden stopped working.

 

On the other hand if I run the command in the terminal it works fine.

 

Please help and happy 4th!

 

Matt

1 comment
Comment actions Permalink

What are your OS and PyCharm version?
Do you use bash as your default shell?

0

Please sign in to leave a comment.