Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- soffice -headless "-accept=socket,host=localhost,port=8100;urp;"
- String[] commands = new String[] {"soffice","-headless",""-accept=socket,host=localhost,port=8100;urp;""};
- Process process = Runtime.getRuntime().exec(commands)
- int code = process.waitFor();
- if(code == 0)
- System.out.println("Commands executed successfully");
- String[] commands = new String[] {"soffice","-headless","-accept=socket,host=localhost,port=8100;urp;"};
- Process process = Runtime.getRuntime().exec(commands);
- int code = process.waitFor();
- if(code == 0)
- System.out.println("Commands executed successfully");
- String[] commands = new String[] {"soffice","-headless","-accept=socket,host=localhost,port=8100;urp;"};
- Process process = Runtime.getRuntime().exec(commands);
- int code = process.waitFor();
- if(code == 0)
- System.out.println("Commands executed successfully");
- String[] commands = new String[] {"soffice","-headless","-accept=socket,host=localhost,port=8100;urp;"};
- Process process = Runtime.getRuntime().exec(commands);
- int code = process.waitFor();
- if(code == 0)
- System.out.println("Commands executed successfully");
Add Comment
Please, Sign In to add comment