Files icon indicating copy to clipboard operation
Files copied to clipboard

Bug: Launching Files from PowerShell prevents entering additional commands

Open HydrogenDeuterium opened this issue 4 years ago • 6 comments

Describe the bug run files in powershell terminal,the terminal is fixed and could do nothing before close the window.

To Reproduce call files through pwsh(cmd no simailar problem)

Expected behavior terminal open the window,and ready to my next input

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

  • OS Version: win 10 2004
  • App version: [v0.11.0]1.2.2.0

Additional context when i choose to run with"start-process files",it works as i wished. another uwp app works so,and the developer asked me to run it with start-process, i think it's a tiny issue and easy to fix(unforturnly,i know lettle about uwp app develop,otherwise i will fix it myself)

HydrogenDeuterium avatar Feb 20 '21 15:02 HydrogenDeuterium

As a workaround, launching with 'start' works well

start files

enisn avatar Feb 21 '22 18:02 enisn

Is this still an issue?

Josh65-2201 avatar Nov 27 '22 11:11 Josh65-2201

Yes

yaira2 avatar Dec 11 '22 15:12 yaira2

I reproduced your action and whether I write "files" or "start files" it opens with version 2.4.80

Lukiluc29 avatar May 05 '23 17:05 Lukiluc29

I looked into this some more, and it seems it's not an issue exclusive to Files - I can reproduce this on many packaged apps made with a variety of frameworks and languages. I'm still not clear on what exactly is causing this.

heftymouse avatar May 16 '23 15:05 heftymouse

I found a PowerShell issue on this. https://github.com/PowerShell/PowerShell/issues/9970

hishitetsu avatar Jun 27 '23 10:06 hishitetsu

As a side effect of Leave app running, if Files is launched from Powershell while it is in the background, the prompt returns immediately.

hishitetsu avatar Sep 01 '23 15:09 hishitetsu

Considering this issue is with the platform, and the fact that the issue doesn't occur when Files is open in the background, I think we no longer need to track this issue. For further updates, we suggest subscribing to the issue on the PowerShell repo https://github.com/PowerShell/PowerShell/issues/9970.

yaira2 avatar Sep 01 '23 15:09 yaira2