This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/1470/

This change has been marked as submitted.


Review request for OpenLMI Developers.
By Michal Minar.

Updated Feb. 12, 2014, 11:26 a.m.

Repository: openlmi-tools

Description

terminate with exit code of last command executed

Make sure that return code of triggered command gets propagated to the
application's entry point.

In interactive mode, meta-command shall exit with the return code of the
last command executed. Note that exit is also a command (returning 0 by
default).

Resolves ticket #174

Original commit digest in openlmi-scripts repo:
  0580e779fee8bcd21dd00b2374c96902c1b49cf1

Diffs

  • cli/lmi/scripts/_metacommand/__init__.py (e26c1b7be981ccc34efdccd97cf2dfabe319974f)
  • cli/lmi/scripts/common/command/base.py (dcf40bf2339b3f1dd5396705c6543b9eb687cb24)
  • cli/lmi/scripts/common/command/session.py (1be7fecae5b54cb853fc95560cbe607c0e80fd86)

View Diff