Skip to content

Commit 27e45aa

Browse files
committed
Do not connect dune's stdin to user written actions
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
1 parent 8d98c54 commit 27e45aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dune/action_exec.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ let exec ~targets ~context ~env ~rule_loc ~build_deps t =
476476
; env
477477
; stdout_to = Process.Io.stdout
478478
; stderr_to = Process.Io.stderr
479-
; stdin_from = Process.Io.stdin
479+
; stdin_from = Process.Io.null In
480480
; prepared_dependencies = DAP.Dependency.Set.empty
481481
; exit_codes = Predicate_lang.Element 0
482482
}

0 commit comments

Comments
 (0)