0

How to open terminal prompt and run commands in linux. I have tried already

Runtime.getRuntime().exec("/usr/bin/open -a Terminal /path/to/the/executable");

This command. I have already tried many code but it doesn't give me answer

DILEEP
  • 11
  • 1
  • 1
    https://stackoverflow.com/questions/26830617/java-running-bash-commands – newbie Feb 25 '19 at 18:38
  • Possible duplicate of [How to run Linux commands in Java?](https://stackoverflow.com/q/3403226/608639) and [How to invoke a Linux shell command from Java](https://stackoverflow.com/q/1410741/608639). If you state what the problem or error is, or where you are having trouble, then you will probably get more specific answers. – jww Feb 25 '19 at 18:58

0 Answers0