-
Hello. New neovide user, on macOS (installed via Homebrew). I'm trying to debug a shell / environment issue (99.9% certainly user error on my part), and to do so I need to run neovide with Not a problem; I can write an applescript as follows:
However, when I do this I have absolutely no idea where the log ends up! The documentation says "in the same directory as the executable" - but it doesn't appear in the directory of the script, it doesn't appear in the Neovide Application Bundle, it doesn't appear in my home directory, it doesn't appear in ~/Library/Application Support/neovide, nor ~/Library/Logs. Any clues? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Quick update: if I run
from the terminal, then open Activity Monitor, double click on the neovide process, and go to the "Open Files and Ports" tab, I can see the process has open the log file:
However, if I run my AppleScript as detailed above, the neovide process launches, but does not have a log file open. Which explains why I can't find it. |
Beta Was this translation helpful? Give feedback.
Ok, figured it out - neovide wants to create the log file in
/Applications/Neovide.app/Contents/MacOS
but macOS won't let it because the process inherits permissions from the AppleScript Script Editor. Solution is to grant Script Editor "App Management" rights in System Settings -> Privacy & Security.Hope this is useful for someone!