Skip to content

Instantly share code, notes, and snippets.

@gerritjvv
Created June 26, 2013 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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