I'm building a sort of File explorer / Finder using Electron. I want to open some file types with a specific application.
I've tried the approach from this answer: Open external file with Electron
import { spawn } from 'child_process'
spawn('/path/to/app/superApp.app', ['/path/to/file'])
But when I do that, I get a EACCES
error as follows.
Is this the right approach? If yes, how can I fix the issue? If not, what is the right approach?
via denislexic
No comments:
Post a Comment