Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WhiskyCmd run: what path should I use? #1325

Open
antonio-fasolato opened this issue Feb 20, 2025 · 2 comments
Open

WhiskyCmd run: what path should I use? #1325

antonio-fasolato opened this issue Feb 20, 2025 · 2 comments

Comments

@antonio-fasolato
Copy link

I can not understand which path I should use to run a program from the command line with WhiskyCmd.

I have two bottles:

+-----------+-----------------+--------------------------------------------------------------------------+
| Name      | Windows Version | Path                                                                     |
+-----------+-----------------+--------------------------------------------------------------------------+
| Steam     | Windows 10      | ~/Library/Containers/Whisky/Bottles/4D47D6B9-97D6-4675-9EFD-E566AA52F367 |
| Notepad++ | Windows 10      | ~/Library/Containers/Whisky/Bottles/27BA2123-C614-4B00-B4E4-492BB8EB696D |
+-----------+-----------------+--------------------------------------------------------------------------+

I tried all the combinations I could think of

whisky run Notepad++ "~/Library/Containers/Whisky/Bottles/27BA2123-C614-4B00-B4E4-492BB8EB696D/drive_c/Program Files/Notepad++/notepad++.exe"

Using an absolute path, relative path, with or without quotes... I even tried to reconstruct the windows path (C:/...) but nothing seems to work. The command simply does nothing, with no output.

The bottle works fine, I can launch the program from the UI and from the shortcut I created from the application settings.

Thanks for your help

@udance4ever
Copy link

udance4ever commented Mar 5, 2025

I just installed WhiskyCmd and having this issue too.

I can also confirm that an absolute UN*X path to the .exe inside the bottle and an internal Windows path (C:...) (tried forward and backslashes) produce no output so it is perplexing what is going on.

You can put garbage as the path and it does not complain (but it does complain if you put an invalid bottle name)

@alexjhill
Copy link

Also struggling with this. Anyone find the answer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants