aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/src/SandboxExec/ExecutionResult.php
diff options
context:
space:
mode:
Diffstat (limited to 'services/app/src/SandboxExec/ExecutionResult.php')
-rw-r--r--services/app/src/SandboxExec/ExecutionResult.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/services/app/src/SandboxExec/ExecutionResult.php b/services/app/src/SandboxExec/ExecutionResult.php
new file mode 100644
index 0000000..7e8b37b
--- /dev/null
+++ b/services/app/src/SandboxExec/ExecutionResult.php
@@ -0,0 +1,17 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Albatross\SandboxExec;
+
+use Nsfisis\Albatross\Models\ExecutionStatus;
+
+final class ExecutionResult
+{
+ public function __construct(
+ public readonly ExecutionStatus $status,
+ public readonly string $stdout,
+ public readonly string $stderr,
+ ) {
+ }
+}