nushell/crates/nu_plugin_stress_internals
Devyn Cairns 8b7696f4c1
stress_internals: exit(1) on io error (#12612)
# Description

The `stress_internals` tests can fail sometimes, but usually not on the
CI, because Nushell exits while the plugin is still trying to read or
maybe write something, leading to a broken pipe.

`nu-plugin` already exits with 1 without printing a message on a
protocol-level I/O error, so this just doing the same thing.

I think there's probably a way to correct the plugin handling so that we
wait for plugins to shut down before exiting and this doesn't happen,
but this is the quick fix in the meantime.
2024-04-21 23:48:09 +02:00
..
src stress_internals: exit(1) on io error (#12612) 2024-04-21 23:48:09 +02:00
Cargo.toml Local socket mode and foreground terminal control for plugins (#12448) 2024-04-15 18:28:18 +00:00
LICENSE Local socket mode and foreground terminal control for plugins (#12448) 2024-04-15 18:28:18 +00:00