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

Please return exit code to indicate whether events were detected #128

Closed
reubenfirmin opened this issue Dec 4, 2022 · 1 comment
Closed

Comments

@reubenfirmin
Copy link

Description of Problem & Solution

Please use exit codes to indicate whether or not events were detected. I would like to automate passing different parameters into dvr_scan to calibrate against sample videos, but I have nothing to test against.

Perhaps (bash friendly):

0 for event
1 for no event

@Breakthrough
Copy link
Owner

This was brought up in #96 previously. You probably want to use string searching from the output to determine this info, not the exit code itself. If you are so inclined, you could write a wrapper script/program for this purpose as well. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants