You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which is basically the example code from the docs. I get no console output from any of the events. Did the syntax for events change? I couldn't find anything regarding api changes, only "speed up" changes in the v1.7.0 changelog.
Downgrading to Tauri v1.6.8, but keeping @tauri-apps/api at v1.6.0, I run into the error described in #9786. Downgrading @tauri-apps/api to v1.5.6 restores the functionality. This configuration works as I would expect:
Looking at the example, you're using .execute() which will wait for the process to finish, collect all of its output and then returns it at one go. You're looking for .spawn() instead, to receive data as it arrives.
Describe the bug
Using Tauri v1.7.1 (and 1.7.0), my
Command.execute()
call does not return any events. Consider this example:which is basically the example code from the docs. I get no console output from any of the events. Did the syntax for events change? I couldn't find anything regarding api changes, only "speed up" changes in the v1.7.0 changelog.
Downgrading to Tauri v1.6.8, but keeping
@tauri-apps/api
at v1.6.0, I run into the error described in #9786. Downgrading@tauri-apps/api
to v1.5.6 restores the functionality. This configuration works as I would expect:Reproduction
No response
Expected behavior
See function above, basically any
Command.execute()
call with event listeners should reproduce this.Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: