git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[BUG] gitk assumes availability of `osascript` on macos

From
RSRobert Scott <lists@humanleg.org.uk>
Date
Sep 20, 2025, 11:59 UTC
Message-ID
<2994140.eGJsNajkDb@alfonse>
Hi,

Tiny one here. On macos, gitk (tested 2.50.1) attempts to call `osascript` so it can focus/raise the UI. But it fails hard if `osascript` isn't present in the $PATH.

There are a number of reasons `osascript` might not be available in a particular environment, e.g. if launched from inside a "pure" nix shell, but seeing as it's just a quality-of-life feature it would be nice if failures to call `osascript` could just be ignored.

Thanks,
robert.
Next: Eric Sunshine
Message 1 of 4 in “[BUG] gitk assumes availability of `osascript` on macos”
  1. Robert ScottSep 20, 2025
  2. Eric SunshineSep 20, 2025
  3. Johannes SixtSep 22, 2025
  4. Eric SunshineSep 22, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.