Trying to handle exit codes in sub_app_run breaks interactive shells #204

Closed
opened 2021-07-10 12:51:53 +00:00 by 3wordchant · 2 comments
Owner

abra app foobar run app bash was immediately exiting for me.

Some git-bisecting later, it looks like this stopped working after b2e0a95a11.

I reverted that commit and it's back in action.

I couldn't find anything about how to put an interactive command in an if statement, I wonder if we have to do a shellcheck-saddening check of the exit code instead?

`abra app foobar run app bash` was immediately exiting for me. Some `git-bisect`ing later, it looks like this stopped working after b2e0a95a111ebe24e890993fb6fd64221afd2192. I reverted that commit and it's back in action. I couldn't find anything about how to put an interactive command in an `if` statement, I wonder if we have to do a shellcheck-saddening check of the exit code instead?
3wordchant added the
bug
label 2021-07-10 12:51:53 +00:00
Owner

Oh nice, thanks for catching that and sorry for the inconvenience. I've pushed 3d5d3ff3ac and tested it and it seems to be working again? Let me know if not, will try to fix up again.

Oh nice, thanks for catching that and sorry for the inconvenience. I've pushed https://git.autonomic.zone/coop-cloud/abra/commit/3d5d3ff3ac22f550f0bd1d34a86fda7fdfdd1f25 and tested it and it seems to be working again? Let me know if not, will try to fix up again.
Author
Owner

looks gr8 thank you! 🙏🙏

looks gr8 thank you! 🙏🙏
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/abra#204
No description provided.