public void run() {
try
{
mStatus = ProcessStatus.RUNNING;
mCurrentProcess = mBuilder.start();
mStdLogs = new InputStreamWriter(getInstanceId(), mCurrentProcess.getInputStream());
new Thread(mStdLogs).start();
mErrLogs = new InputStreamWriter(getInstanceId(), mCurrentProcess.getErrorStream());
new Thread(mErrLogs).start();
mReturnCode = mCurrentProcess.waitFor();
} catch (IOException e) {
LOGGER.error(e.getMessage(), e);
} catch (InterruptedException e) {