0

I'm using Linux Mint (MATE edition), and I have a program that I run through WINE. Because it takes an argument I run it with a shell script. That script is:

cd /home/me/someFolder
wine someProgram.exe someArg

Then I have an application launcher which runs the script. It all works, but I'm wondering if there's any way I can simplify things down to just the application launcher.

I've tried using exec or cd directly in the launcher, but that doesn't work because apparently you can't run shell commands from it. I've also tried various variations of:

wine /home/me/someFolder/someProgram.exe someArg

eg.

wine "/home/me/someFolder/someProgram.exe" someArg
wine "/home/me/someFolder/someProgram.exe someArg"
wine "/home/me/someFolder/someProgram.exe" "someArg"

but none of those works.

Is there any way to do this or am I stuck with the shell script?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.