Skip to content

Instantly share code, notes, and snippets.

@thermosym
Last active August 29, 2015 13:57
Show Gist options
  • Save thermosym/9447789 to your computer and use it in GitHub Desktop.
Save thermosym/9447789 to your computer and use it in GitHub Desktop.
Process videoProcess = new ProcessBuilder(command).start();
new PrintStream(videoProcess.getErrorStream()).start();
new PrintStream(videoProcess.getInputStream()).start();
videoProcess.waitFor();
return true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment