gt22

Untitled

Oct 26th, 2016
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.32 KB | None | 0 0
  1. String classpath = String.format("java -cp Bot.jar %s %s %s", bot.getMainClass(), (Core.jarDir.getAbsolutePath() + File.separatorChar + "libs" + File.separatorChar + "JDA.jar"), (bot.getUseJDAEnchacer() ? Core.jarDir + "/libs/JDAE.jar" : ""));
  2.                 return new ProcessBuilder(classpath.split(" ")).directory(dir).inheritIO().start();
Advertisement
Add Comment
Please, Sign In to add comment