fixed null for args in process handle

This commit is contained in:
Niklas Kapelle 2024-01-29 00:46:51 +01:00
parent e2ab296e79
commit c0741c48aa
Signed by: niklas
GPG Key ID: 4EB651B36D841D16

View File

@ -106,7 +106,7 @@ class ProcessHandle {
} }
public function get_args():ReadOnlyArray<String> { public function get_args():ReadOnlyArray<String> {
return this.config.args; return this.config.args != null ? this.config.args : [];
} }
public function claimTurtleMutex():Bool { public function claimTurtleMutex():Bool {