1
0
mirror of https://github.com/SirusDoma/VoxCharger.git synced 2024-11-27 17:00:51 +01:00

Fix path with whitespace

This commit is contained in:
Ghastlcon 2022-02-05 14:21:20 +08:00 committed by GitHub
parent c755d49175
commit 109ae7faff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ namespace VoxCharger
var info = new ProcessStartInfo() var info = new ProcessStartInfo()
{ {
FileName = fileName, FileName = fileName,
Arguments = args, Arguments = $"\"{args}\"",
WorkingDirectory = workingDir, WorkingDirectory = workingDir,
CreateNoWindow = true, CreateNoWindow = true,
UseShellExecute = false, UseShellExecute = false,