Mercurial Hosting > luan
comparison core/src/luan/modules/Utils.java @ 734:e44e98fe9de8
add scheme "os:..."
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 14 Jun 2016 17:54:12 -0600 |
parents | a21e9594307d |
children |
comparison
equal
deleted
inserted
replaced
733:ffbbe25dab09 | 734:e44e98fe9de8 |
---|---|
150 } | 150 } |
151 */ | 151 */ |
152 | 152 |
153 | 153 |
154 | 154 |
155 /* replace by uri"os:..." | |
155 | 156 |
156 // process | 157 // process |
157 | 158 |
158 public static class ProcessException extends IOException { | 159 public static class ProcessException extends IOException { |
159 private ProcessException(String msg) { | 160 private ProcessException(String msg) { |
193 Process proc = Runtime.getRuntime().exec(cmd); | 194 Process proc = Runtime.getRuntime().exec(cmd); |
194 String s = getOutput(proc); | 195 String s = getOutput(proc); |
195 checkProcess(proc); | 196 checkProcess(proc); |
196 return s; | 197 return s; |
197 } | 198 } |
198 | 199 */ |
199 } | 200 } |