diff --git a/resources/Microsoft.VSCode.Dsc/Microsoft.VSCode.Dsc.psm1 b/resources/Microsoft.VSCode.Dsc/Microsoft.VSCode.Dsc.psm1 index b097cd39..c05fe6da 100644 --- a/resources/Microsoft.VSCode.Dsc/Microsoft.VSCode.Dsc.psm1 +++ b/resources/Microsoft.VSCode.Dsc/Microsoft.VSCode.Dsc.psm1 @@ -95,8 +95,8 @@ function Invoke-VSCode { [string]$Command ) - $stdErrTempFile = [System.IO.Path]::GetTempPath() + (New-Guid).Guid - $stdOutTempFile = [System.IO.Path]::GetTempPath() + (New-Guid).Guid + $stdErrTempFile = Join-Path -Path ([System.IO.Path]::GetTempPath()) -ChildPath (New-Guid).Guid + $stdOutTempFile = Join-Path -Path ([System.IO.Path]::GetTempPath()) -ChildPath (New-Guid).Guid $invocationSuccess = $true $processParams = @{