Closed mono-chrome closed 2 years ago
No issues on macOS 12.4 (kitty 0.25.0). Might be a kitty bug when running on macOS 10.15.7.
If you want to try Task.run
again, zsh needs -c
(e.g. Task.run('/bin/zsh', ['-c', 'open -a kitty']
) or you can try open directly: Task.run('/usr/bin/open', ['-a', 'kitty'])
.
@mafredri Indeed. I've tried this in a VM with a different OS and that works fine. I've also tried your suggestion for running the Task options and both work too. Thank you so much!
When using
App.launch('kitty');
I cannot get kitty to open. I can observe the application opening and immediately terminating in the Dock.Console logs the following:
Following the file path, reveals that the application exists exactly where Phoenix tries to open it.
If kitty has been opened manually (any other launcher works in this case) focus toggle and application switching works well.
I have tried using Task.run(), but could not get that to work using
Task.run('/bin/zsh', ['open', '-a', 'kitty'])
(or using ['open -a kitty']). Alternatively running the open command in terminal would open the application just fine.