{"id":16592840,"url":"https://github.com/honzabrecka/timeout-shell","last_synced_at":"2026-04-28T01:32:24.616Z","repository":{"id":62434969,"uuid":"77088577","full_name":"honzabrecka/timeout-shell","owner":"honzabrecka","description":"A clojure library that works the same way as clojure.java.shell/sh does, but with ability to specify timeout.","archived":false,"fork":false,"pushed_at":"2016-12-21T22:17:28.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-18T01:06:30.894Z","etag":null,"topics":["clojure","library","shell"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/honzabrecka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-21T21:49:42.000Z","updated_at":"2026-02-10T19:34:10.000Z","dependencies_parsed_at":"2022-11-01T21:16:01.934Z","dependency_job_id":null,"html_url":"https://github.com/honzabrecka/timeout-shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/honzabrecka/timeout-shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honzabrecka%2Ftimeout-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honzabrecka%2Ftimeout-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honzabrecka%2Ftimeout-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honzabrecka%2Ftimeout-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/honzabrecka","download_url":"https://codeload.github.com/honzabrecka/timeout-shell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honzabrecka%2Ftimeout-shell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32362781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clojure","library","shell"],"created_at":"2024-10-11T23:22:36.514Z","updated_at":"2026-04-28T01:32:24.598Z","avatar_url":"https://github.com/honzabrecka.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# timeout-shell [![Clojars Project](https://img.shields.io/clojars/v/timeout-shell.svg)](https://clojars.org/timeout-shell)\n\nA library that works the same way as [clojure.java.shell/sh](https://clojuredocs.org/clojure.java.shell/sh) does, but with ability to specify timeout.\n\nRequires Java 1.8 as it depends on the `java.lang.Process.waitFor(long timeout, TimeUnit unit)` method internally.\n\n## Installation\n\n```clj\n[timeout-shell \"1.0.0\"]\n```\n\n## Use\n\n```clj\n(require '[jx.java.shell :refer [timeout-sh]])\n\n(timeout-sh 10 \"sleep\" \"2\")\n; -\u003e after ~2 seconds it returns {:exit 0, :out \"\", :err \"\", :timeout false}\n\n(timeout-sh 2 \"sleep\" \"10\")\n; -\u003e after ~2 seconds it returns {:exit 1, :out \"\", :err \"\", :timeout true}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonzabrecka%2Ftimeout-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonzabrecka%2Ftimeout-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonzabrecka%2Ftimeout-shell/lists"}