Add OS::open_with_program for opening files/directories with a specific program on macOS

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
This commit is contained in:
Mikael Hermansson
2025-06-05 09:12:51 +02:00
parent 1b37dacc18
commit f610c81943
7 changed files with 83 additions and 3 deletions

View File

@ -221,6 +221,7 @@ public:
Dictionary execute_with_pipe(const String &p_path, const Vector<String> &p_arguments, bool p_blocking = true);
int create_process(const String &p_path, const Vector<String> &p_arguments, bool p_open_console = false);
int create_instance(const Vector<String> &p_arguments);
Error open_with_program(const String &p_program_path, const Vector<String> &p_paths);
Error kill(int p_pid);
Error shell_open(const String &p_uri);
Error shell_show_in_file_manager(const String &p_path, bool p_open_folder = true);