01: package net.sourceforge.cruisecontrol.util;
02:
03: import java.io.File;
04: import java.io.IOException;
05:
06: public class CruiseRuntime {
07: private final Runtime delegate;
08:
09: public CruiseRuntime() {
10: delegate = Runtime.getRuntime();
11: }
12:
13: public Process exec(String[] commandline) throws IOException {
14: return delegate.exec(commandline);
15: }
16:
17: public Process exec(String commandline) throws IOException {
18: return delegate.exec(commandline);
19: }
20:
21: public Process exec(String[] commandline, String[] o,
22: File workingDir) throws IOException {
23: return delegate.exec(commandline, o, workingDir);
24: }
25:
26: public Process exec(String commandline, String[] o, File workingDir)
27: throws IOException {
28: return delegate.exec(commandline, o, workingDir);
29: }
30: }
|