} catch (InterruptedException e) {
logger.error("Thread interrupted while waiting for named pipe to be created", e);
}
// Launch the transcode command...
pw.runInNewThread();
// ...and wait briefly to allow it to start
try {
Thread.sleep(200);
} catch (InterruptedException e) {
logger.error("Thread interrupted while waiting for transcode to start", e);