Repository navigation
Allow users of nunit3 set environment variables in the runner - #2543
Conversation
I need this for an obscure reason, maybe other people will too?
|
Hey, thanks for sending in a PR :) |
|
Seems the Fsi module is the thing to copy, there's some clever use of inlining in I think it should be easy to change the PR to copy that pattern. |
|
As the commit message says, we now do exactly what other task such as DotNet and Fsi do. |
| CreateProcess.fromRawCommandLine tool argLine | ||
| |> CreateProcess.withFramework | ||
| |> CreateProcess.withWorkingDirectory (getWorkingDir parameters) | ||
| |> CreateProcess.withEnvironment (parameters.Environment |> Map.toList) |
There was a problem hiding this comment.
We sill want to set the working directory, correct?
|
Thanks! Will probably take me a bit to release, but it will be part of the next one. |
I need this for an obscure reason, maybe other people will too?