rivafarabi / deckboard

Control your PC with your phone in easy way possible. News and updates on @DeckboardApp.
https://deckboard.app/
559 stars 30 forks source link

Bug: "Run Program" is not working, because of no quotation, or escaping of spaces #500

Open capullo opened 4 years ago

capullo commented 4 years ago

if you use "Run Program", Deckboard is not escaping the path, or use quotes, which results in an error when Deckboard is trying to switch the working directory. You can reproduce this with the Battle.net Launcher, which is installed at my system in: C:\Program Files (x86)\Battle.net\Battle.net Launcher.exe

A simple workaround is to create a BAT-File in a folder without spaces, and start the application from there

Example: Create C:\test\bnet.bat with this content:

cd "C:\Program Files (x86)\Battle.net"
"Battle.net Launcher.exe"
exit
1Cupcake1 commented 4 years ago

I tend to us "Run Program" only with Batch files I put in their own folder that has no spaces. Deckboard does not run any programs in windows Program Files folder because of the space in the folder name. I wish I could put the whole path with quotations in the "Executable File" box of Deckboard.