--- a/boost/process/detail/posix/shell_path.hpp
+++ b/boost/process/detail/posix/shell_path.hpp
@@ -18,13 +18,13 @@
 
 inline boost::filesystem::path shell_path()
 {
-    return "/bin/sh";
+    return "@TERMUX_PREFIX@/bin/sh";
 }
 
 inline boost::filesystem::path shell_path(std::error_code &ec)
 {
     ec.clear();
-    return "/bin/sh";
+    return "@TERMUX_PREFIX@/bin/sh";
 }
 
 }}}}
