nushell/crates/nu-command/src
Renan Ribeiro 8c4d3eaa7e
config commands now add frozen jobs to job table (#15556)
# Description

`config nu/env` used to ignore the frozen wait job status response and
did not add processes to the job table when they were frozen.

This PR refactors the PostWaitCallback used in run_external and allows
frozen processes spawned by `config_.rs` to be added to the job table.

Closes #15389



# User-Facing Changes

`config nu` now respects the job freezing semantics.

# Tests + Formatting
This behavior can be verified by running `config nu` or `config env`,
hitting Ctrl-Z, and then running `job list`.
2025-04-15 06:36:08 -05:00
..
bytes fix range bugs in str substring, str index-of, slice, bytes at (#14863) 2025-01-30 06:50:01 -06:00
charting Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
conversions Bugfix: datetime parsing and local timezones (#15544) 2025-04-11 07:48:39 -05:00
database Refactor I/O Errors (#14927) 2025-01-28 16:03:31 -06:00
date Bugfix: datetime parsing and local timezones (#15544) 2025-04-11 07:48:39 -05:00
debug Fix clippy (#15489) 2025-04-06 09:49:28 +08:00
env config commands now add frozen jobs to job table (#15556) 2025-04-15 06:36:08 -05:00
experimental chore: move 'job' to experimental category (#15568) 2025-04-14 22:28:16 +02:00
filesystem Fix future clippy lints (#15519) 2025-04-08 08:51:12 +08:00
filters Fix future clippy lints (#15519) 2025-04-08 08:51:12 +08:00
formats Bugfix chrono panic + hotifx PR15544 (#15549) 2025-04-11 11:52:42 -05:00
generators seq date: generalize to allow any duration for --increment argument (#14903) 2025-01-25 13:24:39 -06:00
hash add binary as input to hash commands (#13923) 2024-09-25 16:47:52 +08:00
help Rework operator type errors (#14429) 2025-02-12 20:03:40 -08:00
math Fix clippy (#15489) 2025-04-06 09:49:28 +08:00
misc More precise ErrorKind::NotFound errors (#15149) 2025-02-22 11:42:44 -05:00
network Fix clippy (#15489) 2025-04-06 09:49:28 +08:00
path Replace some PipelineMismatch by OnlySupportsThisInputType by shell error (#15447) 2025-04-07 12:25:27 +02:00
platform Allow spreading arguments of kill command (#15558) 2025-04-13 07:50:04 -05:00
random Update rand and rand_chacha to 0.9 (#15463) 2025-04-01 07:15:39 -05:00
removed refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00
shells Jobs (#14883) 2025-02-25 12:09:52 -05:00
stor Run-time pipeline input typechecking tweaks (#14922) 2025-02-02 15:51:47 -05:00
strings Bugfix chrono panic + hotifx PR15544 (#15549) 2025-04-11 11:52:42 -05:00
system config commands now add frozen jobs to job table (#15556) 2025-04-15 06:36:08 -05:00
viewers Refactor I/O Errors (#14927) 2025-01-28 16:03:31 -06:00
default_context.rs Move human date parsing into new command date from-human (#15495) 2025-04-07 07:44:55 -05:00
example_test.rs Implementing ByteStream interuption on infinite stream (#13552) 2025-01-11 13:28:08 -08:00
lib.rs Start to Add WASM Support Again (#14418) 2024-11-30 07:57:11 -06:00
progress_bar.rs Cut down unnecessary lint allows (#14335) 2024-11-15 19:24:39 +01:00
sort_utils.rs Remove deprecated commands (#14726) 2025-01-07 07:37:51 +08:00