0

Pause the process to use command-line

It tells me "Pause the process to use command-line". I cannot pause it from the IDE. I can only stop it, which does accept my input but then promptly raises "KeyboardInterrupt".

Posting as a question because I tend to stumble on SO out of habit, it probably has better SEO, and it's just nice to have interested parties. PyCharm: can't get input() from keyboard while debugging / stepping through was never answered but I doubt it is the same issue.

I have now found the issue and it's to do with my remote interpreter, which was a major influence in my decision to buy.

The code I use to trigger is:

choice = int(input("Choose [0-18]: "))
John
  • 6,433
  • 7
  • 47
  • 82

1 Answers1

0

As a workaround, in expectation that no fix will be forthcoming, to automate all the things I can replace:

choice = int(input("Choose [0-18]: "))

with

choice = 1

That is no trouble for one input, but not great to scale out.

John
  • 6,433
  • 7
  • 47
  • 82