Fixed tja2fumen not working with files containing spaces
This commit is contained in:
parent
718ccd4774
commit
12b4d4102f
@ -446,7 +446,7 @@ namespace TaikoSoundEditor.Commons.IO
|
|||||||
|
|
||||||
var p = new Process();
|
var p = new Process();
|
||||||
p.StartInfo.FileName = Path.GetFullPath(@"Tools\tja2fumen.exe");
|
p.StartInfo.FileName = Path.GetFullPath(@"Tools\tja2fumen.exe");
|
||||||
p.StartInfo.Arguments = sourcePath;
|
p.StartInfo.Arguments = "\"" + sourcePath + "\"";
|
||||||
p.StartInfo.UseShellExecute = false;
|
p.StartInfo.UseShellExecute = false;
|
||||||
p.StartInfo.RedirectStandardError = true;
|
p.StartInfo.RedirectStandardError = true;
|
||||||
p.StartInfo.RedirectStandardOutput = true;
|
p.StartInfo.RedirectStandardOutput = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user