Runtime.getRuntime().exec(command); 동작 안하는 경우 해결법


Runtime.getRuntime().exec(command); 동작 안하는 경우 해결법

https://stackoverflow.com/questions/5642892/java-getruntime-exec-an-exe-that-requires-uac java getRuntime().exec an exe that requires UAC So we have a java process that runs as a windows service. It needs to execute a command with Runtime.getRuntime().exec(command). The command it executes requires UAC. This is on windows server 2... stackoverflow.com 1. Tomcat을 관리자 권한으로 실행하여 CMD가 접근 가능하게 하여야한다. 2. NT 서버에서는 CMD.exe가 아닌, COMMAND.com 으로 명령을 실행해주어야한다. String os = System.getProperty("os.name").toLow...



원문링크 : Runtime.getRuntime().exec(command); 동작 안하는 경우 해결법