Skip to content

Commit

Permalink
spawn a separate thread for builtin/custom pipe-out threads
Browse files Browse the repository at this point in the history
there will be 3 child handles:
1. normal process child handle for external commands
2. sync function handle for builtin/custom commands without piping
3. thread spawning handle for builtin/custom pipe-out commands

fix #22
  • Loading branch information
tao-guo committed Apr 5, 2021
1 parent e261493 commit 79cf45f
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 237 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ pub use logger::init_builtin_logger;
pub use process::{export_cmd, set_debug, set_pipefail, Cmd, CmdEnv, Cmds, GroupCmds, Redirect};

mod builtins;
mod child;
mod io;
mod logger;
mod process;
Expand Down
Loading

0 comments on commit 79cf45f

Please sign in to comment.