Use string interpolation

This commit is contained in:
James Groom 2019-03-26 17:57:33 +11:00 committed by GitHub
parent e6374ef477
commit cff8c855a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ namespace BizHawk.Client.EmuHawk
dynamic ji = Activator.CreateInstance(JumpTask);
ji.ApplicationPath = exepath;
ji.Arguments = '"' + fullpath + '"';
ji.Arguments = $"\"{fullpath}\"";
ji.Title = title;
// for some reason, this doesn't work
ji.WorkingDirectory = Path.GetDirectoryName(exepath);