blob: 007547aa41b947673b985b3d1de3a8603a34b34e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.task.util.process;
/**
* @author hakonhall
*/
public interface ChildProcess2 extends AutoCloseable {
void waitForTermination();
int exitCode();
String getOutput();
/** Close/cleanup any resources held. Must not throw an exception. */
@Override
void close();
}
|