WIP Process Expansion Improvements
Process expansions are now being performed as an internal fork within the shell. Previously, this was done by passing executing a new Ion binary with a given command. Work is not 100% complete, however. There's some TODOs that label what's not done yet. - Quoting rules for process expansions has been fixed - However, we should investigate a performance optimization to eliminate heap allocations there. - At the moment, as with background shells, stdin within the child of the fork is disabled. Fix this. - And, we need to remove our pre-process expansion expansions.
Showing
- examples/command-substitutions.ion 4 additions, 0 deletionsexamples/command-substitutions.ion
- examples/command-substitutions.out 7 additions, 1 deletionexamples/command-substitutions.out
- src/builtins/mod.rs 2 additions, 4 deletionssrc/builtins/mod.rs
- src/parser/shell_expand/mod.rs 39 additions, 30 deletionssrc/parser/shell_expand/mod.rs
- src/shell/job.rs 0 additions, 5 deletionssrc/shell/job.rs
- src/shell/mod.rs 65 additions, 2 deletionssrc/shell/mod.rs
- src/shell/variables/mod.rs 0 additions, 18 deletionssrc/shell/variables/mod.rs
Loading
Please register or sign in to comment