brunomendola opened a new issue, #910:
URL: https://github.com/apache/camel-karavan/issues/910

   When running a YAML from VSCode for Windows, the following error occurs:
   `[jbang] [ERROR] Script or alias could not be found or read: 
'.jbang.version=3.21.0'`
   
   This is due to Karavan generating the jbang command without wrapping the JVM 
parameters in quotes, that is required under Powershell.
   
   This is the command generated:
   `jbang -Dcamel.jbang.version=3.21.0 camel@apache/camel run *`
   
   This is what it should have been:
   `jbang "-Dcamel.jbang.version=3.21.0" camel@apache/camel run *`
   
   Follows screenshot:
   
![image](https://github.com/apache/camel-karavan/assets/1853562/517f028d-4c42-46a5-9d45-f0c92db8d6fd)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to