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 {