mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-04-13 09:31:28 +00:00
BUILDTOOLS-544: Run cmd.exe with /D to bypass autorun scripts
This commit is contained in:
parent
9bc34aa6d2
commit
dad88319bd
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ public class Builder
|
|||
}
|
||||
String[] shim = new String[]
|
||||
{
|
||||
"cmd.exe", "/C"
|
||||
"cmd.exe", "/D", "/C"
|
||||
};
|
||||
command = ObjectArrays.concat( shim, command, String.class );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue