Mercurial > hg4j
comparison src/org/tmatesoft/hg/internal/ProcessExecHelper.java @ 423:9c9c442b5f2e
Major refactoring of exception handling. Low-level API uses RuntimeExceptions, while checked are left for higher level
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 23 Mar 2012 22:51:18 +0100 |
parents | 7f27122011c3 |
children |
comparison
equal
deleted
inserted
replaced
422:5d1cc7366d04 | 423:9c9c442b5f2e |
---|---|
28 * Utility to run shell commands. Not thread-safe. | 28 * Utility to run shell commands. Not thread-safe. |
29 * Beware of memory overcommitment issue on Linux - suprocess get allocated virtual memory of parent process size | 29 * Beware of memory overcommitment issue on Linux - suprocess get allocated virtual memory of parent process size |
30 * @see http://developers.sun.com/solaris/articles/subprocess/subprocess.html | 30 * @see http://developers.sun.com/solaris/articles/subprocess/subprocess.html |
31 * | 31 * |
32 * @author Artem Tikhomirov | 32 * @author Artem Tikhomirov |
33 * @author Tmate Software Ltd. | 33 * @author TMate Software Ltd. |
34 */ | 34 */ |
35 public class ProcessExecHelper { | 35 public class ProcessExecHelper { |
36 private File dir; | 36 private File dir; |
37 private int exitValue; | 37 private int exitValue; |
38 private ProcessBuilder pb; | 38 private ProcessBuilder pb; |