phingofficial/phing — pull request #137 by Dundee (2012-07-31 15:00:02+00:00)
Title: ExecTask: Do not change command attribute

ExecTask cannot be executed more than once (which we use), because it changes content of attribute command. If you use executable attribute, you will get error 'Either use "command" OR "executable' in the second call, because then both command and executable attributes are set.

This patch adds attribute realCommand which is used instead of original command. Attribute command is used only to store input from the user.