From c0741c48aab514ea3cce5abc08aa78dbf3425f65 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Mon, 29 Jan 2024 00:46:51 +0100 Subject: [PATCH] fixed null for args in process handle --- src/kernel/ps/ProcessHandle.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/ps/ProcessHandle.hx b/src/kernel/ps/ProcessHandle.hx index 082c847..f173031 100644 --- a/src/kernel/ps/ProcessHandle.hx +++ b/src/kernel/ps/ProcessHandle.hx @@ -106,7 +106,7 @@ class ProcessHandle { } public function get_args():ReadOnlyArray { - return this.config.args; + return this.config.args != null ? this.config.args : []; } public function claimTurtleMutex():Bool {