Skip to content

Commit b77b07f

Browse files
authored
Merge pull request #1 from crowface28/master
Fixed spaces in executable path causing file not found error
2 parents b1d6ebc + c3e245c commit b77b07f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
GarbageMan/bin
2+
GarbageMan/obj
3+
GM/bin
4+
GM/obj
5+
GMLib/bin
6+
GMLib/obj
7+
rel/
8+
.vs/

GarbageMan/RunExecutable.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private void RunExecutableStartButton_Click(object sender, RoutedEventArgs e)
119119
System.Windows.MessageBox.Show("Please pick proper filename", "RunExecutable", MessageBoxButton.OK, MessageBoxImage.Information);
120120
else
121121
{
122-
string cmdLine = $"--path {path} --delay {delay} --dbpath {RealPath} --items {initialFlags} ";
122+
string cmdLine = $"--path \"{path}\" --delay {delay} --dbpath {RealPath} --items {initialFlags} ";
123123
if (args != "")
124124
cmdLine += $"--arguments \"{args}\" ";
125125
if (count > 1)

0 commit comments

Comments
 (0)