Expand description
Executor seam: how a built URL gets handed to macOS so Things can
process it. Production uses OpenCommandExecutor (spawns
/usr/bin/open -g <url>). Tests substitute RecordingExecutor,
which captures URLs without spawning anything.
Structs§
- Open
Command Executor - Production executor: shells out to
/usr/bin/open -g <url>. The-gflag opens the URL in the background so Things doesn’t yank focus from whatever the user is doing. - Recording
Executor - Test executor: records every URL it’s asked to open without spawning
anything. Use
urls()to inspect what was captured.