how to open multiple files on macos with spawn #4997
Unanswered
Shivareddy-Aluri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i'm trying to open multiple file on an app on macos,
say my app is vsCode and i need multiple file to open . on macos i'm trying this
spawn('open', ['-a', vscode-path, 'filepath1 filepath2 filepath2'], opts)
its not working..
if i give a single path it works. is there any way to open multiple files?
in my terminal
open -a "vscode-path" filepath1 filepath2 filepath3
worksplease help!
Beta Was this translation helpful? Give feedback.
All reactions