diff --git a/src/app/FakeLib/FSIHelper.fs b/src/app/FakeLib/FSIHelper.fs index a148007eddb..5f5ea2147b1 100644 --- a/src/app/FakeLib/FSIHelper.fs +++ b/src/app/FakeLib/FSIHelper.fs @@ -167,21 +167,21 @@ let private FsiStartInfo workingDirectory (FsiArgs(fsiOptions, scriptPath, scrip setVar "FSI" fsiPath) /// Creates a ProcessStartInfo which is configured to the F# Interactive. -let fsiStartInfo script workingDirectory args info = - FsiStartInfo workingDirectory (FsiArgs([], script, [])) args info +let fsiStartInfo script workingDirectory env info = + FsiStartInfo workingDirectory (FsiArgs([], script, [])) env info /// Run the given buildscript with fsi.exe -let executeFSI workingDirectory script args = +let executeFSI workingDirectory script env = let (result, messages) = ExecProcessRedirected - (fsiStartInfo script workingDirectory args) + (fsiStartInfo script workingDirectory env) TimeSpan.MaxValue Thread.Sleep 1000 (result, messages) /// Run the given build script with fsi.exe and allows for extra arguments to FSI. -let executeFSIWithArgs workingDirectory script extraFsiArgs args = - let result = ExecProcess (FsiStartInfo workingDirectory (FsiArgs(extraFsiArgs, script, [])) args) TimeSpan.MaxValue +let executeFSIWithArgs workingDirectory script extraFsiArgs env = + let result = ExecProcess (FsiStartInfo workingDirectory (FsiArgs(extraFsiArgs, script, [])) env) TimeSpan.MaxValue Thread.Sleep 1000 result = 0 @@ -203,12 +203,12 @@ type private AssemblySource = let hashRegex = Text.RegularExpressions.Regex("(?