Describe the bug
Every time I trigger the sidecar via JS a new window is opened.
Very similar to #3564
Reproduction
- create sidecar executable in go
package main
import "fmt"
func something() {
fmt.Println("my msg here")
}
func main() {
something()
}
- configure sidecar in app
- call sidecar from frontend Vue app
<script setup>
...
async function testSidecar() {
let cmd = Command.sidecar('bin/sc')
let out = await cmd.execute()
console.log(out)
}
</script>
- new app window opens
Expected behavior
No response
Platform and versions
> tauri "info"
Environment
› OS: Mac OS 12.4.0 X64
› Node.js: 16.13.0
› npm: 8.1.0
› pnpm: 7.3.0
› yarn: 1.22.17
› rustup: 1.24.3
› rustc: 1.61.0
› cargo: 1.61.0
› Rust toolchain: stable-x86_64-apple-darwin
Packages
› @tauri-apps/cli [NPM]: 1.0.5
› @tauri-apps/api [NPM]: 1.0.2
› tauri [RUST]: 1.0.5,
› tauri-build [RUST]: 1.0.4,
› tao [RUST]: 0.12.2,
› wry [RUST]: 0.19.0,
App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:5173/
› framework: Vue.js
App directory structure
├─ dist
├─ node_modules
├─ public
├─ src-tauri
├─ .vscode
└─ src
Stack trace
No response
Additional context
No response
Describe the bug
Every time I trigger the sidecar via JS a new window is opened.
Very similar to #3564
Reproduction
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response