sheredom / subprocess.h

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

fixed issue where full path to binary was required if subprocess_option_inherit_environment was not set #36

Closed pathtofile closed 3 years ago

pathtofile commented 3 years ago

Fix for issue https://github.com/sheredom/subprocess.h/issues/28

Great library btw, just found it. Tested in Linux Ubunutu 20.10 with Clang 11

pathtofile commented 3 years ago

oh, that doesn't work for MacOS, never mind I guess, sorry

sheredom commented 3 years ago

I mean if it does work as intended for Linux we could try it ifdef'ed only for there? Not sure exactly why it changes anything though :D