protocol-registry
protocol-registry copied to clipboard
Absolute Path of Command is Required on MacOS when Terminal Mode is Off
Describe the bug:
On MacOS systems, (as mentioned in the bottom of the README) an absolute path is required to run commands when terminal mode is off.
To Reproduce:
Steps to reproduce the behavior:
- Set the
command
to use a non built-in command, such as"node ${path.join(__dirname, './tester.js')} $_URL_"
(See how it uses node?) - Set
terminal
tofalse
in the configuration. - Register the protocol.
- Go to the protocol in a browser.
- It will error and say that the command does not exist.
Expected behavior:
It should run the command like a user is doing so.