mirror of
https://github.com/SirusDoma/VoxCharger.git
synced 2024-11-12 01:30:46 +01:00
Fix path with whitespace
This commit is contained in:
parent
109ae7faff
commit
19c5377cc9
@ -19,7 +19,7 @@ namespace VoxCharger
|
||||
string output = Path.Combine(tempDir, $"{Directory.GetFiles(tempDir).Length}.wav");
|
||||
Execute(
|
||||
ConverterFileName,
|
||||
$"{inputFileName} {output}" + (preview ? " preview" : string.Empty)
|
||||
$"\"{inputFileName}\" \"{output}\"" + (preview ? " preview" : string.Empty)
|
||||
);
|
||||
|
||||
return tempDir;
|
||||
@ -29,7 +29,7 @@ namespace VoxCharger
|
||||
{
|
||||
Execute(
|
||||
BuilderFileName,
|
||||
outputFileName,
|
||||
$"\"{outputFileName}\"",
|
||||
inputDir
|
||||
);
|
||||
}
|
||||
@ -43,7 +43,7 @@ namespace VoxCharger
|
||||
var info = new ProcessStartInfo()
|
||||
{
|
||||
FileName = fileName,
|
||||
Arguments = $"\"{args}\"",
|
||||
Arguments = args,
|
||||
WorkingDirectory = workingDir,
|
||||
CreateNoWindow = true,
|
||||
UseShellExecute = false,
|
||||
|
Loading…
Reference in New Issue
Block a user