when | run a command until a condition is met , then run
kandi X-RAY | when Summary
kandi X-RAY | when Summary
when is a C library. when has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.
NAME when - repeatedly runs a command, then another when the first succeeds. SYNOPSIS when [-n ] [-t|-z] [-h] [-v]. DESCRIPTION when runs conditional every N seconds awaiting for "success." Success is defined in one of two ways. In timebomb mode, -t, success is defined by whether or not the conditional is still running after N seconds (as specified by the -n flag). In zero mode, -z, success is achieved when conditional exits with a return value of 0. OPTIONS -h Prints the help message and exits successfully. NOTE Note that both conditional and command are given to "sh -c" which means that you may need to use extra quoting to get the desired effect. EXIT STATUS when makes an effort to exit with the exit status returned by the conditional in timebomb mode. In zero mode the exit status should be, well, 0. EXAMPLES TODO more examples needed. COPYRIGHT Copyright (C) 2013 Andrew Gwozdziewycz. AUTHOR when was written by Andrew Gwozdziewycz web@apgwoz.com in 2013.
NAME when - repeatedly runs a command, then another when the first succeeds. SYNOPSIS when [-n ] [-t|-z] [-h] [-v]. DESCRIPTION when runs conditional every N seconds awaiting for "success." Success is defined in one of two ways. In timebomb mode, -t, success is defined by whether or not the conditional is still running after N seconds (as specified by the -n flag). In zero mode, -z, success is achieved when conditional exits with a return value of 0. OPTIONS -h Prints the help message and exits successfully. NOTE Note that both conditional and command are given to "sh -c" which means that you may need to use extra quoting to get the desired effect. EXIT STATUS when makes an effort to exit with the exit status returned by the conditional in timebomb mode. In zero mode the exit status should be, well, 0. EXAMPLES TODO more examples needed. COPYRIGHT Copyright (C) 2013 Andrew Gwozdziewycz. AUTHOR when was written by Andrew Gwozdziewycz web@apgwoz.com in 2013.
Support
Quality
Security
License
Reuse
Support
when has a low active ecosystem.
It has 131 star(s) with 11 fork(s). There are 4 watchers for this library.
It had no major release in the last 6 months.
There are 0 open issues and 3 have been closed. There are 1 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of when is current.
Quality
when has no bugs reported.
Security
when has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
when is licensed under the GPL-3.0 License. This license is Strong Copyleft.
Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.
Reuse
when releases are not available. You will need to build from source code and install.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of when
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of when
when Key Features
No Key Features are available at this moment for when.
when Examples and Code Snippets
Copy
def called_with_tracing(self, function_name, omit_warning):
"""Updates the list of most recent calls' tracing information.
Warns the user when recent calls caused retracing too often.
Args:
function_name: the python function being
Community Discussions
No Community Discussions are available at this moment for when.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install when
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page