Obsidian CLI hangs when stdout pipe closes early

Steps to reproduce

  1. obsidian vault="Notes" unresolved counts 2>&1 | head -20
  2. Output exceeds 20 lines
  3. head reads 20 lines, closes its end of the pipe, exits

Did you read and follow the Troubleshooting Guide ? [Yes]

Expected result

obsidian receives SIGPIPE (or a write error) on the closed pipe and exits.

Actual result

obsidian process keeps running indefinitely. Terminal hangs. Only kill/kill -9 ends it.

Environment

SYSTEM INFO:
Obsidian version: 1.14.2
Installer version: 1.12.7
Operating system: Darwin Kernel Version 25.6.0: Fri Jul 31 19:18:53 PDT 2026; root:xnu-12377.161.14~5/RELEASE_ARM64_T6031 25.6.0
Login status: logged in
Language: en-GB
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: Minimal 9.1.0
Snippets enabled: 0
Restricted mode: off
Plugins installed: 190
Plugins enabled: 77
1: Auto Link Title v1.5.5
2: Base Board v2.5.1
3: Bases Image Gallery v0.1.6
4: Bases Spotlight View v1.1.4
5: Bases Toolbox v0.1.62
6: Blockier v1.2.1
7: Blockreffer v1.5.0
8: Book Search v0.7.5
9: BRAT v2.2.0
10: Canvas Bases v0.1.4
11: Contextual Typography v2.2.5
12: Copilot v4.0.7
13: Custom Attachment Location v12.0.1
14: Dataview v0.5.68
15: Date Inserter v0.7.3
16: Day Planner v0.35.1
17: About Blank v1.2.0
18: Actions URI v1.9.0
19: Advanced URI v2.0.0
20: AI Providers v1.11.0
21: Block Link Plus v2.0.21
22: Cursor Position History v1.3.0
23: Datetime Language Changer v1.0.2
24: Double-Click Image Opener v1.0.1
25: Editor Syntax Highlight v0.1.3
26: Feeds v0.0.11
27: File Ignore v1.1.1
28: Git v2.39.0
29: GoodBases v0.7.2
30: HelpMate v1.0.26
31: Hotkey Helper v0.3.24
32: Importer v3.1.5
33: Kanban v2.0.51
34: Kanban Bases View v0.10.4
35: Linear Integration v1.0.0
36: Linter v1.32.0
37: Local REST API with MCP v5.1.0
38: MCP Tools v0.2.33
39: MetaEdit v1.10.3
40: Minimal Theme Settings v9.0.0
41: Modal forms v1.70.2
42: Mononote v1.2.2
43: Note aliases v1.2.0
44: Notion Bases v1.13.0
45: Novel word count v5.0.0
46: Omnisearch v1.31.0
47: Open Tab Settings v3.1.2
48: Outliner v4.10.2
49: Pane Relief v0.5.9
50: Perplexity Converter v1.0.6
51: Persistent Links v0.2.0
52: Pretty Properties v2.0.0
53: Project Tasks v0.1.3
54: Quick Switcher++ v6.1.6
55: QuickAdd v2.25.0
56: Raindrop Highlights v0.0.25
57: Recent Files v1.7.10
58: Remove HTML Tag v1.0.4
59: Sort and Permute lines v0.8.0
60: Strange New Worlds v2.3.7
61: Style Settings v1.0.9
62: Symbol linking v1.4.3
63: Tag Summary v2.1.5
64: Tag Wrangler v0.6.5
65: Task Manager Bases View v0.10.0
66: Task Status v1.3.1
67: Tasks v8.4.0
68: Templater v2.25.0
69: Terminal v3.27.2
70: Text Transporter v1.0.12
71: Zen Mode v1.7.1
72: Zoom v1.1.2
73: TaskNotes v5.0.0-beta.0
74: Claudian v2.2.6
75: Hidden Folders Access v2.0.0
76: SideCard v0.1.3
77: Advanced Rename and Delete Handler v1.3.0

Additional information

  • Only happens with large outputs (where head closes the pipe before the CLI finishes writing)
  • Small outputs that fit within N lines don’t trigger it
  • No error message printed before the hang

Did you download and reinstall Obsidian and asked in the troubleshooting guide?