How to call / execute shell / external command from Java

Runtime.getRuntime().exec can be used to executes the specified string command in a separate process. In general it is better to use ProcessBuilder API. Example


Popular posts from this blog

How to delete / clear queue of PowerMTA