/* Let StreamGobbler handle output */
StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream());
/* Flush both error and output streams */
errorGobbler.schedule();
outputGobbler.schedule();
}
private File getOrCreateFromStateLocation(String fileName, Plugin bundle) {
IPath stateLocation = bundle.getStateLocation();
IPath fileLocation = stateLocation.append(fileName);