1
0
mirror of synced 2024-11-23 20:10:57 +01:00

Fixed tja2fumen not working with files containing spaces

This commit is contained in:
Farewell_ 2024-03-21 17:07:06 +01:00
parent 718ccd4774
commit 12b4d4102f

View File

@ -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;