sheredom / subprocess.h

🐜 single header process launching solution for C and C++
The Unlicense
1.1k stars 97 forks source link

Optionally use execvp on Unix to enable PATH search. #62

Closed nburrus closed 2 years ago

nburrus commented 2 years ago

Add a subprocess_option_search_user_path option to enable that behavior. Enabling it by default would break the previous behavior where specify a relative binary file path would work (see e.g. the executable_resolve.no_slashes_with_environment test).

This PR follows the discussion in #54 .

sheredom commented 2 years ago

Great work!