blob: e7b133b357aedcb100ec9c75a40de7ee4e27e49a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Yahoo. 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();
}
|