You've already forked godot
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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user