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

Add --timeout for run subcommands #41

Closed
Southclaws opened this issue Nov 29, 2017 · 1 comment
Closed

Add --timeout for run subcommands #41

Southclaws opened this issue Nov 29, 2017 · 1 comment

Comments

@Southclaws
Copy link
Owner

When running unit tests, the user does not intend to actually host a server. However, the SA:MP server process is a blocking, continual process which means it only exits when it errors internally or is closed externally via a signal.

--timeout for sampctl server run and sampctl package run will solve this with minimal effort.

It would simply set a timer when the process starts and kill the process when the time runs out.

@Southclaws
Copy link
Owner Author

Not necessary now due to runtime modes.

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

1 participant