We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 989fc81 + 0ac108a commit 7695d22Copy full SHA for 7695d22
lib_eio/unix/process.ml
@@ -1,7 +1,7 @@
1
open Eio.Std
2
3
let resolve_program name =
4
- if Filename.is_implicit name then (
+ if not (String.contains name '/') then (
5
Sys.getenv_opt "PATH"
6
|> Option.value ~default:"/bin:/usr/bin"
7
|> String.split_on_char ':'
0 commit comments