Fixed a launchExe() NullPointerException introduced in commit be8a84c
This commit is contained in:
parent
e5cee05775
commit
020ecc4145
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ public class FTLUtilities {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
String[] args = new String[1 + exeArgs.length];
|
String[] args = new String[1 + exeArgs.length];
|
||||||
|
args[0] = exeFile.getAbsolutePath();
|
||||||
System.arraycopy( exeArgs, 0, args, 1, exeArgs.length );
|
System.arraycopy( exeArgs, 0, args, 1, exeArgs.length );
|
||||||
|
|
||||||
pb = new ProcessBuilder( args );
|
pb = new ProcessBuilder( args );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue