Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Add exit arg to main func #399

Closed
medic8601 opened this issue Sep 1, 2021 · 2 comments
Closed

Enhancement: Add exit arg to main func #399

medic8601 opened this issue Sep 1, 2021 · 2 comments

Comments

@medic8601
Copy link
Contributor

Currently it is not possible to execute pabot as a child process since it force exits at completion.

The run_cli function from robot module provides an exit arg that is defaulted to True. When True, the process will exit but if False it will return the exit code. This allows a user to launch the main function directly from a parent Python script that would perform pre-testing and post-testing actions.

@medic8601
Copy link
Contributor Author

I just updated my fork and PR with the most recent updates from this project.

Any idea if this will be merged soon?

@mkorpela
Copy link
Owner

@medic8601 I'm very sorry but I've been heavily focused on other things for a long time.. This seems like a valid use case and I would be super happy to merge this.

mkorpela added a commit that referenced this issue Dec 30, 2022
#399 - Added exit arg to main function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants