plugins-workspace icon indicating copy to clipboard operation
plugins-workspace copied to clipboard

[bug] open("url") also opens Terminal window

Open vtempest opened this issue 1 year ago • 0 comments

Describe the bug


  import { open, Command } from "@tauri-apps/plugin-shell";
    await open("https://www.google.com");

    // await Command.create("exit").execute()

image

Reproduction


  import { open, Command } from "@tauri-apps/plugin-shell";
    await open("https://www.google.com");

    // await Command.create("exit").execute()

Expected behavior

open() should open just browser not also shell terminal

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.26120 x86_64 (X64)     
    ✔ WebView2: 128.0.2739.67
    ✔ MSVC:
        - Visual Studio Build Tools 2019      
        - Visual Studio Build Tools 2022      
    ✔ rustc: 1.78.0 (9b00956e5 2024-04-29)    
    ✔ cargo: 1.78.0 (54d8815d0 2024-03-26)    
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)   
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - pnpm: 9.1.1
    - yarn: 1.22.22
    - bun: 1.1.17

[-] Packages
    - tauri 🦀: 2.0.0-rc.10
    - tauri-build 🦀: 2.0.0-rc.9
    - wry 🦀: 0.43.1
    - tao 🦀: 0.30.0
    - @tauri-apps/api : not installed!       
    - @tauri-apps/cli : 2.0.0-rc.12

[-] Plugins
    - tauri-plugin-global-shortcut 🦀: 2.0.0-rc.2
    - @tauri-apps/plugin-global-shortcut : not installed!
    - tauri-plugin-shell 🦀: 2.0.0-rc.3       
    - @tauri-apps/plugin-shell : not installed!
    - tauri-plugin-autostart 🦀: 2.0.0-rc.1   
    - @tauri-apps/plugin-autostart : not installed!

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:1420/
    - framework: Svelte

Stack trace

No response

Additional context

not always occuring just first few times when app open

No response

vtempest avatar Sep 07 '24 19:09 vtempest