Open
Description
When using a sidecar executable and invoking it with the Javascript bindings, the arguments defined in the tauri.conf.json
file are always applied automatically. This doesn't happen when invoking it from the Rust side.
Example JS
const test = async () => {
let cmd = Command.sidecar('my-sidecar')
// this actually invokes `my-sidecar -v`
await cmd.spawn()
}
test()
Given something like this in tauri.conf.json
:
"plugins": {
"shell": {
"scope": [{
"name": "my-sidecar",
"sidecar": true,
"args": [
"-v",
]
}]
}
},
"tauri": {
"bundle": {
"active": true,
"targets": "all",
"identifier": "com.example.dev",
"externalBin": [
"php-server"
]
},