Merge pull request #108737 from bruvzg/adb_scrcpy

[Android] Add export option to use "scrcpy" to run project from editor.
This commit is contained in:
Thaddeus Crews
2025-10-24 11:23:03 -05:00
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());