1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 00:50:25 +02:00

Improved prebuild/postbuild external program execution

This commit is contained in:
Brian Fiete 2023-12-09 09:11:52 -05:00
parent 90ba850618
commit 90626036c6
2 changed files with 30 additions and 19 deletions

View file

@ -8784,8 +8784,11 @@ namespace IDE
shellArgs.Append("/c ");
shellArgs.Append("\"");
IDEUtils.AppendWithOptionalQuotes(shellArgs, fileName);
shellArgs.Append(" ");
shellArgs.Append(args);
if (!args.IsEmpty)
{
shellArgs.Append(" ");
shellArgs.Append(args);
}
shellArgs.Append("\"");
startInfo.SetFileName("cmd.exe");
startInfo.SetArguments(shellArgs);