Skip to content

Commit 7695d22

Browse files
authored
Merge pull request #820 from talex5/exec-path
Eio.Process: match Unix search behaviour
2 parents 989fc81 + 0ac108a commit 7695d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib_eio/unix/process.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
open Eio.Std
22

33
let resolve_program name =
4-
if Filename.is_implicit name then (
4+
if not (String.contains name '/') then (
55
Sys.getenv_opt "PATH"
66
|> Option.value ~default:"/bin:/usr/bin"
77
|> String.split_on_char ':'

0 commit comments

Comments
 (0)