CliWrap v2.2 Release Notes
Release Date: 2018-12-20 // over 5 years ago-
- โ Added
Cli.Wrap
static method to replacenew Cli()
for a more fluent interface. This also makes it so you're dealing withICli
instead ofCli
throughout the entire method chain. - 0๏ธโฃ Standard error validation is now disabled by default. This change was made because quite a few CLIs (e.g. git, ffmpeg) write progress to stderr.
- ๐ Changed
Execute
andExecuteAsync
to complete only after the process exits, regardless of cancellation. This fixes a problem where the underlying process could live for some brief moments after those methods returned, in case of cancellation. - If
Execute
orExecuteAsync
is canceled, the underlying process will now be killed without waiting for standard input to write completely. - ๐ Reworked underlying process handling to improve performance and maintainability. The
Execute
andExecuteAsync
methods are now virtually the same in terms of code, unlike before, where they were considerably different.
- โ Added