Skip to content

BUG: Shell plugin calls syntax error #3673

@Burbenpho

Description

@Burbenpho

Checks

  • I have checked that this issue has not already been reported.

  • I am using the latest version of Flow Launcher.

  • I am using the prerelease version of Flow Launcher.

Problem Description

Shell plugin throws syntax error when I typed sfc /scannow or net start commands. When I run cmd with admin rights it has no error and command executes successfully.

I download proccess monitor, and it seems like command executes with "C:\Windows\System32\cmd.exe "/k sfc /scannow ". I think there is parsing error. Even shutdown /r /t 0 not works.

Commands without spaces works correctly.

Process monitor when FL starts cmd.exe:
Command line: "C:\Windows\System32\cmd.exe "/k sfc /scannow "

To Reproduce

  1. Turn on Shell plugin
  2. Use Windows Terminal
  3. Use CMD option
  4. sfc /scannow command via shell plugin with admin rights throws syntax error
  5. net start [service] command via shell plugin with admin rights throws syntax error
  6. shutdown /r /t 0 command via shell plugin with admin rights throws syntax error

Screenshots

No response

Flow Launcher Version

1.20.0

Windows Build Number

Version 10.0.26100.4202

Error Log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions