summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/system/execution/ProcessResult.java
diff options
context:
space:
mode:
Diffstat (limited to 'vespajlib/src/main/java/com/yahoo/system/execution/ProcessResult.java')
-rw-r--r--vespajlib/src/main/java/com/yahoo/system/execution/ProcessResult.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/system/execution/ProcessResult.java b/vespajlib/src/main/java/com/yahoo/system/execution/ProcessResult.java
new file mode 100644
index 00000000000..2f277f83a8c
--- /dev/null
+++ b/vespajlib/src/main/java/com/yahoo/system/execution/ProcessResult.java
@@ -0,0 +1,19 @@
+// Copyright 2017 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.system.execution;
+
+/**
+ * @author bjorncs
+ * @author gjoranv
+ */
+public class ProcessResult {
+ public final String stdOut;
+ public final String stdErr;
+ public final int exitCode;
+
+ public ProcessResult(int exitCode, String stdOut, String stdErr) {
+ this.exitCode = exitCode;
+ this.stdOut = stdOut;
+ this.stdErr = stdErr;
+ }
+
+}