[macOS] Fix is_process_running and kill for bundled apps.

This commit is contained in:
bruvzg 2024-07-31 16:10:10 +03:00 committed by Rémi Verschelde
parent 1d57b81d26
commit 1dfcbccfe6
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 21 additions and 0 deletions

View file

@ -422,6 +422,7 @@
<description>
Returns the exit code of a spawned process once it has finished running (see [method is_process_running]).
Returns [code]-1[/code] if the [param pid] is not a PID of a spawned child process, the process is still running, or the method is not implemented for the current platform.
[b]Note:[/b] Returns [code]-1[/code] if the [param pid] is a macOS bundled app process.
[b]Note:[/b] This method is implemented on Android, Linux, macOS and Windows.
</description>
</method>