Digital Marketing

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

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership