Closed gegles closed 4 years ago
When running the example with kill foo as param it fails with Unrecognized token error.
kill foo
Unrecognized token
I believe this is due to testing the result variable too early: https://github.com/bfgroup/Lyra/blob/4f64eabb563215297fe868b61f0049a7e4d8abf8/examples/doc_commands.cpp#L84
result
if one comments this line it seems to work.
When running the example with
kill foo
as param it fails withUnrecognized token
error.I believe this is due to testing the
result
variable too early: https://github.com/bfgroup/Lyra/blob/4f64eabb563215297fe868b61f0049a7e4d8abf8/examples/doc_commands.cpp#L84if one comments this line it seems to work.