0.341 2023-05-24 Released-By: PERLANCAR; Urgency: medium - Log output of system() and run(), in addition to readpipe(). 0.340 2021-01-31 Released-By: PERLANCAR; Urgency: medium - Update to Log::ger 0.038: Log::ger::Plugin::MultilevelLog is renamed to Log::ger::Format::MultilevelLog. 0.339 2021-01-26 Released-By: PERLANCAR; Urgency: medium - Add option: fail_log_level. 0.338 2020-08-18 Released-By: PERLANCAR; Urgency: low - No functional changes. [Documentation] - Add Description (finally). - Mention IPC::System::Simple and Proc::Govern. - Format POD for easier linking. 0.337 2020-06-06 Released-By: PERLANCAR; Urgency: medium - run(): Allow capture_stdout & capture_stderr to be coderef in addition to scalarref. 0.336 2020-04-23 Released-By: PERLANCAR; Urgency: low - No functional changes. - [doc] Forgot to document the exit_code_success_criteria option. 0.335 2020-04-23 Released-By: PERLANCAR; Urgency: medium - Add option: exit_code_success_criteria. 0.334 2020-03-10 Released-By: PERLANCAR; Urgency: medium - [bugfix] readpipe() didn't respect shell=0 option. Since Perl's backtick always uses shell, when user wants shell=0, we need to avoid using backtick and emulate it with system() + capture_output instead. 0.333 2019-11-23 Released-By: PERLANCAR; Urgency: low - No functional changes. - [doc] Update documentation: logging is now done using Log::ger, not Log::Any. 0.332 2019-09-03 Released-By: PERLANCAR; Urgency: medium - Add start() to allow running a process in the background. 0.331 2019-01-07 Released-By: PERLANCAR - Introduce escaping mechanism via scalar reference to avoid a special character from being quoted from the shell, e.g. system({shell=>1}, 'ls', '-laR', \'>', '/root/ls-laR.txt'). - Add tests for tee_* options. 0.330 2017-08-10 Released-By: PERLANCAR - Add options: tee_stdout, tee_stderr, tee_merged. 0.32 2017-07-10 Released-By: PERLANCAR - No functional changes from last dev release. 0.31_001 2017-06-20 Released-By: PERLANCAR - Switch from Log::Any to Log::ger. 0.31 2017-04-09 Released-By: PERLANCAR - No functional changes. - [Bugfix] Add missing sprintf placeholder. 0.30 2017-03-09 Released-By: PERLANCAR - Add option: capture_merged. 0.29 2016-10-11 Released-By: PERLANCAR - Add option: dry_run. - Add some more docs and example for chdir option. 0.28 2016-10-06 Released-By: PERLANCAR - [Enhancement] Add option: chdir. - Die when supplied unknown options. - [Bugfix] Avoid the use of defined-or (//) as this requires perl v5.10. - [test] Add test suite. 0.27 2016-06-08 Released-By: PERLANCAR - Rename backtick() to readpipe() to allow overriding the backtick/qx operator (the old name has been deprecated and removed from doc but still supported for now). 0.26 2016-06-04 Released-By: PERLANCAR - No functional changes. - [doc] Mention quoting of multiple arguments and proper quoting on Win32. 0.25 2016-06-04 Released-By: PERLANCAR - When converting multiple arguments to string, shell quote the arguments (e.g. backtick('foo', 'bar baz') or system({shell=>1}, 'foo', 'bar baz') will become "foo 'bar baz'". But single argument will not be shell-quoted, e.g. backtick('foo "bar baz"') will not be shell-quoted again. - Support Win32 shell quoting using Win32::ShellQuote. 0.24 2016-01-02 Released-By: PERLANCAR - No functional changes. - Avoid using Carp for faster startup. 0.23 2015-09-29 Released-By: PERLANCAR - Add run(), first written for use in Test::Perinci::CmdLine because I need something like IPC::System::Options' system() (with capture_stdout, capture_stderr, env, etc) but also allows passing stdin (which system() does not support). 0.22 2015-09-12 Released-By: PERLANCAR - Bump prereq Log::Any::IfLOG to version 0.07 (uses get_logger()) [RT#107051]. 0.21 2015-08-17 Released-By: PERLANCAR - No functional changes. - Switch from Log::Any to Log::Any::IfLOG. 0.20 2015-07-27 Released-By: PERLANCAR - [ux] On error, show captured stdout & stderr in log/die message. 0.19 2015-07-27 Released-By: PERLANCAR - No functional changes. - Re-upload to PAUSE. 0.18 2015-07-27 Released-By: PERLANCAR - [Bugfix] Allow import() to be used by other package, e.g. IPC::System::Locale, by exporting the correct system() and backtick(). 0.17 2015-07-03 Released-By: PERLANCAR - [Incompatible change] Replace 'capture' option with separate 'capture_stdout' and 'capture_stderr' options to be more flexible (e.g. only capturing stdout and letting stderr show through). 0.16 2015-06-26 Released-By: PERLANCAR - No functional changes. - Third attempt, previous release didn't remove the usage of state variable. 0.15 2015-06-26 Released-By: PERLANCAR - No functional changes. - Second attempt, previous release didn't remove 'perl=5.010001'. 0.14 2015-06-26 Released-By: PERLANCAR - No functional changes. - Allow running under perl < 5.10. 0.13 2015-06-18 Released-By: PERLANCAR - [Bugfix] Forgot to rename an instance of variable. 0.12 2015-06-18 Released-By: PERLANCAR - [Bugfix] Defeat prototype checking (which might be active or not, depending whether Capture::Tiny has previously been loaded during compile time). 0.11 2015-06-18 Released-By: PERLANCAR - Add option: capture. 0.10 2015-05-15 Released-By: PERLANCAR - [ux] Accept option dies as well as die, but this is not documented. 0.09 2015-04-21 Released-By: PERLANCAR - Degrade Log::Any from RuntimeRequires to RuntimeRecommends, to reduce deps. 0.08 2015-04-15 Released-By: PERLANCAR - Add option: env. 0.07 2015-04-15 Released-By: PERLANCAR - When shell=>1, force the use of shell by concat-ing the args. 0.06 2015-02-07 Released-By: PERLANCAR - Export import() so it's easier to use by my other IPC::System::* modules. 0.05 2015-02-07 Released-By: PERLANCAR - Use log level error to log failure. - Allow specifying default options during use. 0.04 2015-02-07 Released-By: PERLANCAR - [ux] Use croak instead of die (nicer in default/non-backtracing environment). 0.03 2015-01-12 Released-By: PERLANCAR - Add option: die=>1. - Add options: log=>1, max_log_output=>1. This integrates the functionality of Log::Any::For::Builtins. I now deprecate that module in favor of this. 0.02 2015-01-04 Released-By: PERLANCAR - Add backtick(). 0.01 2015-01-04 Released-By: PERLANCAR - First release.