String[] command = prepareCommand(path, url);
try
{
pr = Runtime.getRuntime().exec(command);
Thread outConsumer = new StreamConsumer(pr.getInputStream());
outConsumer.setName("Custom browser adapter output reader");
outConsumer.start();
Thread errConsumer = new StreamConsumer(pr.getErrorStream());
errConsumer.setName("Custom browser adapter error reader");
errConsumer.start();
} catch (Exception e)
{
PerlDebugPlugin.getDefault().logError(
"CustomBrowser.errorLaunching " + path,
e);