when | run a command until a condition is met , then run

 by   apg C Version: Current License: GPL-3.0

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.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              when has a low active ecosystem.
              It has 131 star(s) with 11 fork(s). There are 4 watchers for this library.
              OutlinedDot
              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.

            kandi-Quality Quality

              when has no bugs reported.

            kandi-Security Security

              when has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License 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.

            kandi-Reuse 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
            Get all kandi verified functions for this library.

            when Key Features

            No Key Features are available at this moment for when.

            when Examples and Code Snippets

            Called when a function is called .
            pythondot img1Lines of Code : 38dot img1License : Non-SPDX (Apache License 2.0)
            copy iconCopy
            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:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/apg/when.git

          • CLI

            gh repo clone apg/when

          • sshUrl

            git@github.com:apg/when.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link