### Godot version

v3.5.1.stable.official [6fed1ffa3]

### System information

Windows 10, NVIDIA GeForce GTX 760

### Issue description

OS.kill() will not terminate process that it's not spawned by game although it is noted in the documentation that it can also be used to kill processes that were not spawned by the game.


### Steps to reproduce

Use PID when calling OS.kill() that it isn't spawned by the game.

### Minimal reproduction project

N/A
}
#ifndef WM_TOUCH
#define WM_TOUCH 576
#endif
#ifndef WM_POINTERUPDATE
#define WM_POINTERUPDATE 0x0245
#endif
#if defined(__GNUC__)
#define GetProcAddress (void *)GetProcAddress
#endif
static String format_error_message(DWORD id) {
	LPWSTR messageBuffer = nullptr;
	size_t size = FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
			nullptr, id, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPWSTR)&messageBuffer, 0, nullptr);
	String msg = "Error " + itos(id) + ": " + String::utf16((const char16_t *)messageBuffer, size);
	LocalFree(messageBuffer);
	return msg;
}
void RedirectStream(const char *p_file_name, const char *p_mode, FILE *p_cpp_stream, const DWORD p_std_handle) {
	const HANDLE h_existing = GetStdHandle(p_std_handle);
	if (h_existing != INVALID_HANDLE_VALUE) { 
		const HANDLE h_cpp = reinterpret_cast<HANDLE>(_get_osfhandle(_fileno(p_cpp_stream)));
		if (h_cpp == INVALID_HANDLE_VALUE) { 
			FILE *fp = p_cpp_stream;
			freopen_s(&fp, p_file_name, p_mode, p_cpp_stream); 
			setvbuf(p_cpp_stream, nullptr, _IONBF, 0); 
		}
	}
}
void RedirectIOToConsole() {