{"id":19831205,"url":"https://github.com/ryanflannery/exe_in_path","last_synced_at":"2026-06-09T06:06:11.096Z","repository":{"id":139296419,"uuid":"53023979","full_name":"ryanflannery/exe_in_path","owner":"ryanflannery","description":"A small, portable C89 library to scan $PATH and check for an executable","archived":false,"fork":false,"pushed_at":"2016-03-09T02:36:10.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T21:25:22.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanflannery.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-03T05:38:13.000Z","updated_at":"2025-02-11T13:12:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc09e9af-8dab-4a90-8b9d-f88d2b04b916","html_url":"https://github.com/ryanflannery/exe_in_path","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanflannery/exe_in_path","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanflannery%2Fexe_in_path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanflannery%2Fexe_in_path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanflannery%2Fexe_in_path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanflannery%2Fexe_in_path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanflannery","download_url":"https://codeload.github.com/ryanflannery/exe_in_path/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanflannery%2Fexe_in_path/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34093797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T11:29:09.421Z","updated_at":"2026-06-09T06:06:11.080Z","avatar_url":"https://github.com/ryanflannery.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n------------\n\n[![License: ISC](https://img.shields.io/badge/license-ISC-blue.svg \"License: ISC\")](LICENSE)\n[![Build Status](https://travis-ci.org/ryanflannery/exe_in_path.svg?branch=master)](https://travis-ci.org/ryanflannery/exe_in_path)\n\nThis is a small portable C (strict C89) library that simply checks the `$PATH`\nenvironment variable for an executable. If present, it returns true. Otherwise\nit returns false.\n\nUsually you would simply `exec*` for such a check, but doing so in a `fork()`'d\nchild process or similar can be more complicated than it's worth for such a\ncommon error.\n\n\nDetails\n-------\nThere's a single function exported by this library\n\n```\n    bool exe_in_path(const char *e);\n```\n\nSemantics are pretty obvious.\n\nInstall\n-------\nEdit the variables in `Makefile` for where to install the .h and the lib.\nThen\n```\n   $ ./configure\n   $ make\n   $ make install\n   $ make test          /* run gtests */\n```\n\nLicense\n-------\nThe code is released under an ISC style license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanflannery%2Fexe_in_path","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanflannery%2Fexe_in_path","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanflannery%2Fexe_in_path/lists"}