Skip to content

Multiline shell commands change order #2184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
domiSchenk opened this issue Jul 8, 2021 · 0 comments
Closed

Multiline shell commands change order #2184

domiSchenk opened this issue Jul 8, 2021 · 0 comments
Assignees

Comments

@domiSchenk
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants