Skip to content

Commit

Permalink
Merge pull request #743 from EvilBeaver/artbear-patch-1
Browse files Browse the repository at this point in the history
Исправление бага движка при запуске процесса с передачей переменных среды
  • Loading branch information
artbear authored Apr 20, 2018
2 parents 610953b + c3f19df commit 9cfaf08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ScriptEngine.HostedScript/Library/ProcessContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ public static ProcessContext Create(string cmdLine, string currentDir = null, bo
{
foreach (var kv in env)
{
sInfo.EnvironmentVariables.Remove(kv.Key.AsString());
sInfo.EnvironmentVariables[kv.Key.AsString()] = kv.Value.AsString();
}
}
Expand Down

0 comments on commit 9cfaf08

Please sign in to comment.