I am trying to run the MuseScore snap from within my own Java snap package.
My code is as follows:
Runtime.getRuntime().exec("musescore.mscore " + file.getPath());
This generates the error: Exception - Cannot run program “musescore.mscore”: error = 2, No such file or directory.
I would be grateful for some advice as to whether this is possible and, if so, what would need to be done to make it work.