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

Support running on OSX #15

Open
DukeyToo opened this issue Jun 24, 2016 · 3 comments
Open

Support running on OSX #15

DukeyToo opened this issue Jun 24, 2016 · 3 comments

Comments

@DukeyToo
Copy link

OSX bash shell doesn't have a timeout command, but often (at least dev OSX machines) will have perl. Can do:

function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
@thomaschaaf
Copy link

thomaschaaf commented Jul 8, 2016

To get the script to run execute the following commands:

brew install coreutils
alias timeout=gtimeout

And you should be good to go.

(from http://stackoverflow.com/questions/3504945/timeout-command-on-mac-os-x)

@DukeyToo
Copy link
Author

DukeyToo commented Jul 8, 2016

I do like the gtimeout approach - not as a prerequisite, but I could easily change PR #17 to use that instead where it is available.

@maxcnunes
Copy link

If you are looking for an approach that does not depend on third party tools (curl, wget) and has cross platform support. Please take a look on this other tool https://github.com/maxcnunes/waitforit.

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

Successfully merging a pull request may close this issue.

4 participants