v5.5.0
版本发布时间: 2022-05-26 21:18:48
pypyr/pypyr最新发布版本:v5.9.1(2023-09-22 11:13:53)
summary
-
cmdOut
forpypyr.steps.cmd
&pypyr.steps.shell
gets dotted attribute access.- instead of
cmdOut[returncode]
access value like this:cmdOut.returncode
- backwards compatible - the old-style dict-like accessors will still work.
- closes #272
- instead of
- Introduce
pypyr.steps.cmds
&pypyr.steps.shells
to run programs or shell statements asynchronously as parallel (concurrent) sub-processes.-
cmdOut
for these works as with the serial versions of the steps using the new dotted attribute access introduced in this release. - closes #273
-
- Set default encoding for all the cmd/shell steps using
default_cmd_encoding
in config. You can use the $env variablePYPYR_CMD_ENCODING
to initialize this value, in addition to the usual config files.- closes #275
what's changed
- async cmds + shells by @yaythomas in https://github.com/pypyr/pypyr/pull/274
- release 5.5 & default_cmd_encoding for serial by @yaythomas in https://github.com/pypyr/pypyr/pull/276
Full Changelog: https://github.com/pypyr/pypyr/compare/v5.4.0...v5.5.0