Skip to content

Instantly share code, notes, and snippets.

@gerritjvv
Created June 26, 2013 11:19
Show Gist options
  • Save gerritjvv/5866679 to your computer and use it in GitHub Desktop.
Save gerritjvv/5866679 to your computer and use it in GitHub Desktop.
Call external process from Java
int ret = new ProcessBuilder("gzip", "-t", "t.txt.gz").inheritIO().start().waitFor()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment