I’m using Obsidian on Windows 11. Its CLI works in normal PowerShell, but the same commands fail inside ChatGPT desktop’s local Work environment while Obsidian remains open.
& 'C:\Users\grobe\AppData\Local\Programs\Obsidian\Obsidian.com' vaults verbose
& 'C:\Users\grobe\AppData\Local\Programs\Obsidian\Obsidian.com' 'vault=Obsidian PKM' vault info=path
Normal PowerShell lists the vaults and returns the correct path. Work returns exit code 1:
The CLI is unable to find Obsidian. Please make sure Obsidian is running and try again.
Work can read the vault files, but cannot see the Obsidian process; CIM process inspection is denied. Its command runner uses a Windows sandbox, with sandbox escalation disabled. Using the full executable path rules out ordinary PATH resolution issues.
OpenAI’s AI-assisted support suggested this may be expected sandbox isolation. Computer Use can operate Obsidian successfully, but that doesn’t provide CLI automation.
Has anyone encountered this, and is there a supported way to make that connection available from such an environment?