diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-11-01 11:12:52 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-11-01 11:48:23 +0200 |
commit | 0b6b8427c81f60f6298491100ceaed3247649539 (patch) | |
tree | b3323b8d0551a90f1175956a9d566cd02840d875 /core/core_bind.h | |
parent | efbbd14af3f3325c4201518528e7acb93d60098a (diff) |
[macOS] Add `create_instance` function to spawn editor copies.
[macOS] Modify `create_project` function to detect and run app bundles using NSWorkspace to ensure app window is registered and activated correctly.
Diffstat (limited to 'core/core_bind.h')
-rw-r--r-- | core/core_bind.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/core_bind.h b/core/core_bind.h index 010d1e2419..72865f583c 100644 --- a/core/core_bind.h +++ b/core/core_bind.h @@ -165,6 +165,7 @@ public: String get_executable_path() const; int execute(const String &p_path, const Vector<String> &p_arguments, Array r_output = Array(), bool p_read_stderr = false); int create_process(const String &p_path, const Vector<String> &p_arguments); + int create_instance(const Vector<String> &p_arguments); Error kill(int p_pid); Error shell_open(String p_uri); |