musescore / musescore/MuseScore

Plugins QProcess.start() fails to execute

Open
#27,665 4 comments 0 reactions 1 assignee View on GitHub

@igorkorsukov is already working on this.

Since Apr 15, 2025.

community needs review plugins
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

Choose option...

Description with steps to reproduce
  1. Create a plugin (test.qml attached)
  2. launch the plugin from musescore

if the command is i.e.
"C:/Program Files/MuseScore 4/bin/MuseScore4.exe"
"C:/Program Files/Microsoft Office/root/Office16/EXCEL.EXE"
"C:/Program Files/Everything/Everything.exe"
it works, but
powershell (as environment variable) or "C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe"
cmd (as environment variable) or "C:/Windows/System32/cmd.exe"
nothing will happen. It won't launch the exe. Musescore log won't show any error, just it won't execute the commands.
I tried with and without admin privileges no difference.
test.qml.txt
Thank you!

Supporting files, videos and screenshots

test.qml.txt

What is the latest version of MuseScore Studio where this issue is present?

OS: Windows 11 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.5.1-250800846, revision: github-musescore-musescore-603eca8

Regression

Choose option...

Operating system

Windows 11 Pro Version 23H2 Build 22631.5039

Additional context

No response

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.