mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
Fix XVFB run not evaluating arg providers (#1464)
This commit is contained in:
@@ -225,6 +225,12 @@ public abstract class AbstractRunTask extends JavaExec {
|
||||
commandLine.add(getMainClass().get());
|
||||
commandLine.addAll(getArgs());
|
||||
|
||||
for (CommandLineArgumentProvider provider : getArgumentProviders()) {
|
||||
for (String arg : provider.asArguments()) {
|
||||
commandLine.add(arg);
|
||||
}
|
||||
}
|
||||
|
||||
getExecOperations().exec(execSpec -> {
|
||||
execSpec.setCommandLine(commandLine);
|
||||
execSpec.setWorkingDir(getWorkingDir());
|
||||
|
||||
Reference in New Issue
Block a user