1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

[Android] Add export option to use "scrcpy" to run project from editor.

This commit is contained in:
Pāvels Nadtočajevs
2025-07-18 09:42:32 +03:00
parent e825169957
commit f7263b9517
7 changed files with 161 additions and 50 deletions

View File

@@ -756,6 +756,11 @@ Dictionary OS_Unix::execute_with_pipe(const String &p_path, const List<String> &
}
if (pid == 0) {
// The new process
// Create a new session-ID so parent won't wait for it.
// This ensures the process won't go zombie at the end.
setsid();
// The child process.
Vector<CharString> cs;
cs.push_back(p_path.utf8());