Describe the bug
When running a command from JS, that returns a multiline stdout, the output is changed everytime.
To Reproduce
- clone repo
https://github.com/domiSchenk/tauri-bug-command
- start tauri dev
- when clicking reload the output changes
- this should not happen
Expected behavior
Output should be every time the same
Screenshots


Platform and Versions (required):
Operating System - Windows, version 10.0.19042 X64
Webview2 - 91.0.864.64
Node.js environment
Node.js - 14.15.0
@tauri-apps/cli - 1.0.0-beta.5
@tauri-apps/api - 1.0.0-beta.4
Global packages
npm - 6.14.8
yarn - 1.22.10
Rust environment
rustc - 1.53.0
cargo - 1.53.0
App directory structure
/.git
/dist
/node_modules
/src-tauri
App
tauri.rs - 1.0.0-beta.4
build-type - bundle
CSP - default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'
distDir - ../dist
devPath - ../dist
Describe the bug
When running a command from JS, that returns a multiline stdout, the output is changed everytime.
To Reproduce
https://github.com/domiSchenk/tauri-bug-commandExpected behavior
Output should be every time the same
Screenshots
Platform and Versions (required):