mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 13:37:45 -05:00
Only quote program arguments if they actually contain spaces
This commit is contained in:
@@ -210,7 +210,12 @@ public class RunConfig {
|
||||
}
|
||||
|
||||
first = false;
|
||||
sb.append("\"").append(arg).append("\"");
|
||||
|
||||
if (arg.contains(" ")) {
|
||||
sb.append("\"").append(arg).append("\"");
|
||||
} else {
|
||||
sb.append(arg);
|
||||
}
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
|
||||
Reference in New Issue
Block a user