Whisky-App / Whisky

A modern Wine wrapper for macOS built with SwiftUI
https://getwhisky.app
GNU General Public License v3.0
12.26k stars 259 forks source link

[Bug]: Running installed apps with terminal leads to failed run #712

Open MarioMastr opened 10 months ago

MarioMastr commented 10 months ago

Description

Essentially, when trying to run any of the apps that are built in to profiles that are newly created, while trying to shift-click them so that the terminal opens up as well, leads to an error in the terminal that says that it failed to create a "pidl" for the bottle. However, when opening up those apps without the terminal, they run just fine.

Screenshot 2023-12-16 at 20 55 55

Steps to reproduce

  1. Open Whisky
  2. Create a new profile
  3. Go into "Installed Programs"
  4. Run any program that is there by shift-clicking the Run button so that the terminal opens up.

Expected behaviour

The behaviours between terminal mode and non-terminal mode should remain the same (i.e. terminal mode should actually work).

Logs

Log with terminal:

Whisky Version: 2.2.1
Date: 2023-12-16T20:57:43Z
macOS Version: 14.2.0

Bottle Name: test
Bottle URL: /Users/ashrafmohamed/Library/Containers/com.isaacmarovitz.Whisky/Bottles/6E38CF82-F4CB-42AE-976B-2AB9916403B4

Wine Version: 7.7.0
Windows Version: win10
Enhanced Sync: msync

Metal HUD: false
Metal Trace: false

Arguments: start /unix /Users/ashrafmohamed/Library/Containers/com.isaacmarovitz.Whisky/Bottles/6E38CF82-F4CB-42AE-976B-2AB9916403B4/drive_c/Program Files/Windows NT/Accessories/wordpad.exe

Environment:
{
    "DXVK_ASYNC" = 1;
    WINEDEBUG = "fixme-all";
    WINEMSYNC = 1;
    WINEPREFIX = "/Users/ashrafmohamed/Library/Containers/com.isaacmarovitz.Whisky/Bottles/6E38CF82-F4CB-42AE-976B-2AB9916403B4";
}

Log without terminal:

Whisky Version: 2.2.1
Date: 2023-12-16T20:58:30Z
macOS Version: 14.2.0

Bottle Name: test
Bottle URL: /Users/ashrafmohamed/Library/Containers/com.isaacmarovitz.Whisky/Bottles/6E38CF82-F4CB-42AE-976B-2AB9916403B4

Wine Version: 7.7.0
Windows Version: win10
Enhanced Sync: msync

Metal HUD: false
Metal Trace: false

Arguments: start /unix /Users/ashrafmohamed/Library/Containers/com.isaacmarovitz.Whisky/Bottles/6E38CF82-F4CB-42AE-976B-2AB9916403B4/drive_c/Program Files/Internet Explorer/iexplore.exe

Environment:
{
    "DXVK_ASYNC" = 1;
    WINEDEBUG = "fixme-all";
    WINEMSYNC = 1;
    WINEPREFIX = "/Users/ashrafmohamed/Library/Containers/com.isaacmarovitz.Whisky/Bottles/6E38CF82-F4CB-42AE-976B-2AB9916403B4";
}

msync: bootstrapped mach port on wine-193b441-msync.
msync: up and running.

What version of Whisky are you using?

2.2.1

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

radetich commented 8 months ago

Also seeing this issue, since their .app shortcuts use this launching method