public interface RunningProcess
| Modifier and Type | Method and Description |
|---|---|
static Runnable |
connectIOTo(ProcessControl process,
ProcessOutput processOutput) |
static String |
executableBaseName(String name) |
static Path |
pidFile(Path workingDir,
Path executableFile) |
static <T extends RunningProcess> |
start(RunningProcessFactory<T> runningProcessFactory,
Path workingDir,
Path executable,
List<String> arguments,
Map<String,String> environment,
ProcessConfig processConfig,
ProcessOutput outputConfig,
SupportConfig supportConfig) |
int |
stop() |
static void |
writePidFile(Path pidFile,
long pid) |
int stop()
static Runnable connectIOTo(ProcessControl process, ProcessOutput processOutput)
static <T extends RunningProcess> T start(RunningProcessFactory<T> runningProcessFactory, Path workingDir, Path executable, List<String> arguments, Map<String,String> environment, ProcessConfig processConfig, ProcessOutput outputConfig, SupportConfig supportConfig) throws IOException
IOExceptionstatic void writePidFile(Path pidFile, long pid) throws IOException
IOExceptionCopyright © 2025. All rights reserved.