yanne / api-test

0 stars 0 forks source link

Enhance `Execute Command` to also return return code if requested #49

Closed yanne closed 10 years ago

yanne commented 10 years ago

None

This issue was originally opened at Google Code on Jun 13, 2012.

yanne commented 10 years ago

Original comment by janne.t....@gmail.com on Aug 14, 2012.

This can be done, in both Python and Java versions. It needs to be considered whether how the command output is handled in this case. Should the keyword return only the return code, or tuple (rc, output) or should this be somehow configured?

yanne commented 10 years ago

Original comment by janne.t....@gmail.com on Aug 14, 2012.

We decided to enhance the return values of Execute Command keyword so that the return code can be also get with it.

This change is implemented in r133