Download Latest Version v1.0.10 source code.tar.gz (46.1 kB)
Email in envelope

Get an email when there's a new version of rust_cmd_lib

Home / v1.0.10
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-04-05 743 Bytes
v1.0.10 source code.tar.gz 2021-04-05 46.1 kB
v1.0.10 source code.zip 2021-04-05 60.4 kB
Totals: 3 Items   107.2 kB 0

Major Changes

  • update CmdStdio APIs, use stdin(), stdout(), stderr() to get Reader/Writer for builtin/custom commands
  • process internal: move most of the runtime information from Cmds to Cmd.
  • freeze APIs and update docs for 1.0 release
  • enable logging support
  • log error messages when running command fails
  • capture all messages on stderr into logs
  • fix builtin command stderr redirection
  • report cd command error
  • try to capture all stdout/stderr messages if they are redirected to file
  • support "|&"
  • removed "log" crate dependency for end users
  • add checks for multiple redirections for the same input/output [#21]
  • spawn a separate thread for builtin/custom pipe-out threads to solve the pipe-full issue [#22]
Source: README.md, updated 2021-04-05