Chrome native messaging cannot execute batch file
问题 Here is the manifest of my host : { "allowed_origins" : [ "chrome-extension://EXTENSION_ID/" ], "description" : "my.app.host", "name" : "my.app.host", "path" : "C:\\chromejar\\launch.bat", "type" : "stdio" } Here is the content of my launch.bat file : setlocal enableextensions disabledelayedexpansion for %%a in ("%~dp0\ChromeConnector.jar") do set "JARFILE=%%~fa" java -jar "%JARFILE%" pause When I launch my Batch file separately, it works. When I launch my extension from my website using an