Skip to content

Multiline shell commands change order  #2184

@domiSchenk

Description

@domiSchenk

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

image
image

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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions