BUILDTOOLS-544: Run cmd.exe with /D to bypass autorun scripts

This commit is contained in:
md_5 2020-07-04 13:10:31 +10:00
parent 9bc34aa6d2
commit dad88319bd
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -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 );
}