Fork non-command nodes for background jobs, fix interactive flag in child processes, and add empty variable test for [ builtin

This commit is contained in:
2026-03-09 21:55:03 -04:00
parent ac429cbdf4
commit 85e5fc2875
3 changed files with 24 additions and 4 deletions

View File

@@ -249,7 +249,7 @@ fn shed_interactive(args: ShedArgs) -> ShResult<()> {
// may have moved it during resize/rewrap
readline.writer.update_t_cols();
readline.mark_dirty();
}
}
if JOB_DONE.swap(false, Ordering::SeqCst) {
// update the prompt so any job count escape sequences update dynamically