1

Usually I run my python scripts on my windows 10 laptop in a powershell CLI. But for some reason after I rebooted last time, every time I run my python scripts it launches a new window.

And if I just want to display a help page the new window disappears before you can read it.

It might be a group policy that my company just pushed out, because my coworker is seeing the same thing.

Is there any way I can stop that from happening by setting an option on the CLI or something?

3
  • How are you running your Powershell Command-Line Interfaces and your Help Pages? Are you using some Desktop Icons? Can you edit them and append to their Command-Line String the && pause Character String? With it, the windows that are popping up on your screen should be paused, so that you are able to read them.
    – user1018743
    Dec 3, 2019 at 18:10
  • Well I'm doing a search for powershell in the windows search toolbar, and then running it that way. It used to work fine as of this morning. Then I rebooted and that's when the problem started happening.
    – user99201
    Dec 3, 2019 at 18:58
  • Rrright. Then, after you search for it, choose the Down-Pointed Arrow and then the Open File Location Option. Then, you will have a File Explorer Window opened up. Then, search for the Windows PowerShell Icon. Edit it and apply our First Comment.
    – user1018743
    Dec 3, 2019 at 19:28

0

You must log in to answer this question.

Browse other questions tagged .