Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 8381a16

Browse files
Fixing error while trying to read from inaccessible path (#44)
* add working dir to process runner * Update ProcessRunner.cs remove timestamp * chore: remove unneded variable
1 parent e180e7a commit 8381a16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WindowsPerfGUI/Utils/SDK/ProcessRunner.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ private void InitProcess(string[] args)
326326
RedirectStandardOutput = true,
327327
RedirectStandardError = true,
328328
RedirectStandardInput = true,
329+
WorkingDirectory = System.IO.Path.GetTempPath(),
329330
FileName = _Path,
330331
Arguments = string.Join(" ", args)
331332
},

0 commit comments

Comments
 (0)