Searched refs:exec (Results 1 - 25 of 34) sorted by relevance

12

/opengrok/test/org/opensolaris/opengrok/util/
H A DExecutorTest.java69 assertEquals(0, instance.exec());
81 assertEquals(0, instance.exec());
96 assertEquals(0, instance.exec());
/opengrok/src/org/opensolaris/opengrok/history/
H A DGitRepository.java116 Executor exec = new Executor(cmd, directory);
118 int status = exec.exec();
124 try (BufferedReader in = new BufferedReader(exec.getOutputReader())) {
259 process = Runtime.getRuntime().exec(argv, null, directory);
275 process = Runtime.getRuntime().exec(argv, null, directory);
324 Executor exec = new Executor(cmd, file.getParentFile());
325 int status = exec.exec();
337 exec
[all...]
H A DSCCSget.java47 if (executor.exec() == 0) {
H A DBazaarRepository.java115 process = Runtime.getRuntime().exec(argv, null, directory);
175 Executor exec = new Executor(cmd, file.getParentFile());
176 int status = exec.exec();
184 return parseAnnotation(exec.getOutputReader(), file.getName());
224 if (executor.exec() != 0) {
233 if (executor.exec() != 0) {
361 if (executor.exec(false) != 0) {
H A DClearCaseRepository.java137 process = Runtime.getRuntime().exec(argv, null, directory);
282 process = Runtime.getRuntime().exec(argv, null, directory);
298 process = Runtime.getRuntime().exec(argv, null, directory);
379 Executor exec = new Executor(
382 if ((rc = exec.exec(true)) == 0) {
383 String output = exec.getOutputString();
H A DPerforceRepository.java88 executor.exec();
122 executor.exec();
135 if (executor.exec() != 0) {
172 executor.exec();
185 executor.exec();
H A DCVSRepository.java146 if (executor.exec() != 0) {
222 process = Runtime.getRuntime().exec(argv, null, new File(parent));
285 Executor exec = new Executor(cmd, file.getParentFile());
286 int status = exec.exec();
294 return parseAnnotation(exec.getOutputReader(), file.getName());
H A DAccuRevHistoryParser.java90 executor.exec(true, this);
97 executor.exec(true, this);
H A DSSCMRepository.java210 Executor exec = new Executor(argv, directory);
211 int status = exec.exec();
315 Executor exec = new Executor(argv, file.getParentFile());
316 int status = exec.exec();
324 return parseAnnotation(exec.getOutputReader(), file.getName());
380 if (executor.exec() != 0) {
H A DAccuRevRepository.java116 executor.exec();
202 executor.exec();
231 executor.exec();
275 executor.exec(true);
H A DMonotoneRepository.java81 process = Runtime.getRuntime().exec(argv, null, directory);
177 if (executor.exec() != 0) {
216 if (executor.exec() != 0) {
225 if (executor.exec() != 0) {
H A DRepoRepository.java74 if (executor.exec() != 0) {
H A DRepository.java395 Executor exec = new Executor(args);
396 return exec.exec(false) == 0;
H A DMercurialRepository.java131 if (executor.exec(false) != 0) {
223 process = Runtime.getRuntime().exec(argv, null, directory);
512 if (executor.exec() != 0) {
522 if (executor.exec() != 0) {
677 if (executor.exec(false) != 0) {
699 if (executor.exec(false) != 0) {
H A DClearCaseHistoryParser.java52 int status = executor.exec(true, this);
H A DPerforceHistoryParser.java81 executor.exec();
92 executor.exec();
H A DSubversionRepository.java124 if (executor.exec() == 0) {
279 if (executor.exec() == 0) {
433 if (executor.exec() != 0) {
H A DBazaarHistoryParser.java62 int status = executor.exec(true, this);
H A DCVSHistoryParser.java167 int status = executor.exec(true, this);
H A DMonotoneHistoryParser.java76 int status = executor.exec(true, this);
H A DSSCMHistoryParser.java150 int status = executor.exec(true, this);
/opengrok/src/org/opensolaris/opengrok/util/
H A DExecutor.java122 public int exec() { method in class:Executor
123 return exec(true);
132 public int exec(boolean reportExceptions) { method in class:Executor
134 int ret = exec(reportExceptions, spoolOut);
146 public int exec(final boolean reportExceptions, StreamHandler handler) { method in class:Executor
/opengrok/test/org/opensolaris/opengrok/history/
H A DSCCSgetTest.java59 p = Runtime.getRuntime().exec("sccs help help");
74 p = Runtime.getRuntime().exec("sccs --version");
H A DMercurialRepositoryTest.java155 Executor exec = new Executor(Arrays.asList(cmdargs), reposRoot);
156 int exitCode = exec.exec();
160 + "\nstdout:\n" + exec.getOutputString()
161 + "\nstderr:\n" + exec.getErrorString());
H A DJDBCHistoryCacheTest.java143 Executor exec = new Executor(Arrays.asList(cmdargs), reposRoot);
144 int exitCode = exec.exec();
148 "\nstdout:\n" + exec.getOutputString() +
149 "\nstderr:\n" + exec.getErrorString());

Completed in 79 milliseconds

12