Skip to content

Commit

Permalink
fix: accidental stdin inheritance in lake
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuisi committed Jul 24, 2024
1 parent 798703c commit bf5fa22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lake/Lake/Util/Proc.lean
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def testProc (args : IO.Process.SpawnArgs) : BaseIO Bool :=
EIO.catchExceptions (h := fun _ => pure false) do
let child ← IO.Process.spawn {
args with
stdin := IO.Process.Stdio.null
stdout := IO.Process.Stdio.null
stderr := IO.Process.Stdio.null
}
Expand Down

0 comments on commit bf5fa22

Please sign in to comment.