Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit 69c749a

Browse files
committed
Make path for build runner more explicit - to fix #6
1 parent 4eaa222 commit 69c749a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

DolphinBisectTool/RunBuild.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ public void Run(string title = "")
99
{
1010
using (var runner = new Process())
1111
{
12-
runner.StartInfo.WorkingDirectory = Directory.GetCurrentDirectory() +
13-
@"\dolphin\Dolphin-x64\";
14-
runner.StartInfo.FileName = "Dolphin.exe";
12+
string startingDirectory = Directory.GetCurrentDirectory() +
13+
@"\dolphin\Dolphin-x64\";
14+
runner.StartInfo.WorkingDirectory = startingDirectory;
15+
runner.StartInfo.FileName = startingDirectory + "Dolphin.exe";
1516
if (!string.IsNullOrEmpty(title))
1617
runner.StartInfo.Arguments = string.Format("/b /e \"{0}\"", title);
1718
runner.Start();

0 commit comments

Comments
 (0)