Runtime.getRuntime() external program

17 views
Skip to first unread message

Andrea Checchia

unread,
May 27, 2014, 9:59:26 AM5/27/14
to idem...@googlegroups.com
Hello to all. 

iDempiere is installed on a remote machine. I wish to launch a command on my machine. Is it possible? For example, to run a command like this: 

 String command= "/usr/lib/libreoffice/program/swriter";  
 Runtime rt = Runtime.getRuntime();
 try {
      rt.exec(command);

 } catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
 }

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages