[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
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
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());