We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Don't attempt to start on Windows (until supported)
As of right now, we error out when attempting to start on a Microsoft Windows system.

We should detect that the OS is not supported, and not start at all (and log that fact).


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `src/scout_apm/core/__init__.py`
Content:
```
1 # coding=utf-8
2 from __future__ import absolute_import, division, print_function, unicode_literals
3 
4 import logging
5 from os import getpid
6 
7 from scout_apm.core.config import ScoutConfig
8 from scout_apm.core.context import AgentContext
9 from scout_apm.core.core_agent_manager import CoreAgentManager
10 from scout_apm.core.instrument_manager import InstrumentManager
11 from scout_apm.core.metadata import AppMetadata
12 
13 try:
14     from scout_apm.core import objtrace
15 except ImportError:
16     objtrace = None
17 
18 logger = logging.getLogger(__name__)
19 
20 
21 def install(*args, **kwargs):
22     if "config" in kwargs:
23         ScoutConfig().set(**kwargs["config"])
24     context = AgentContext.build(config=ScoutConfig())
25 
26     if not context.config.value("monitor"):
27         logger.info(
28             "APM Not Launching on PID: %s - Configuration 'monitor' is not true",
29             getpid(),
30         )
31         return False
32 
33     InstrumentManager().install_all()
34 
35     if objtrace is not None:
36         objtrace.enable()
37 
38     logger.debug("APM Launching on PID: %s", getpid())
39     launched = CoreAgentManager().launch()
40 
41     AppMetadata.report()
42     if launched:
43         AgentContext.socket().stop()
44 
45     return True
46
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/src/scout_apm/core/__init__.py b/src/scout_apm/core/__init__.py
--- a/src/scout_apm/core/__init__.py
+++ b/src/scout_apm/core/__init__.py
@@ -2,6 +2,7 @@
 from __future__ import absolute_import, division, print_function, unicode_literals
 
 import logging
+import sys
 from os import getpid
 
 from scout_apm.core.config import ScoutConfig
@@ -23,6 +24,10 @@
         ScoutConfig().set(**kwargs["config"])
     context = AgentContext.build(config=ScoutConfig())
 
+    if sys.platform == "win32":
+        logger.info("APM Not Launching on PID: %s - Windows is not supported", getpid())
+        return False
+
     if not context.config.value("monitor"):
         logger.info(
             "APM Not Launching on PID: %s - Configuration 'monitor' is not true",

{"golden_diff": "diff --git a/src/scout_apm/core/__init__.py b/src/scout_apm/core/__init__.py\n--- a/src/scout_apm/core/__init__.py\n+++ b/src/scout_apm/core/__init__.py\n@@ -2,6 +2,7 @@\n from __future__ import absolute_import, division, print_function, unicode_literals\n \n import logging\n+import sys\n from os import getpid\n \n from scout_apm.core.config import ScoutConfig\n@@ -23,6 +24,10 @@\n         ScoutConfig().set(**kwargs[\"config\"])\n     context = AgentContext.build(config=ScoutConfig())\n \n+    if sys.platform == \"win32\":\n+        logger.info(\"APM Not Launching on PID: %s - Windows is not supported\", getpid())\n+        return False\n+\n     if not context.config.value(\"monitor\"):\n         logger.info(\n             \"APM Not Launching on PID: %s - Configuration 'monitor' is not true\",\n", "issue": "Don't attempt to start on Windows (until supported)\nAs of right now, we error out when attempting to start on a Microsoft Windows system.\r\n\r\nWe should detect that the OS is not supported, and not start at all (and log that fact).\r\n\n", "before_files": [{"content": "# coding=utf-8\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport logging\nfrom os import getpid\n\nfrom scout_apm.core.config import ScoutConfig\nfrom scout_apm.core.context import AgentContext\nfrom scout_apm.core.core_agent_manager import CoreAgentManager\nfrom scout_apm.core.instrument_manager import InstrumentManager\nfrom scout_apm.core.metadata import AppMetadata\n\ntry:\n    from scout_apm.core import objtrace\nexcept ImportError:\n    objtrace = None\n\nlogger = logging.getLogger(__name__)\n\n\ndef install(*args, **kwargs):\n    if \"config\" in kwargs:\n        ScoutConfig().set(**kwargs[\"config\"])\n    context = AgentContext.build(config=ScoutConfig())\n\n    if not context.config.value(\"monitor\"):\n        logger.info(\n            \"APM Not Launching on PID: %s - Configuration 'monitor' is not true\",\n            getpid(),\n        )\n        return False\n\n    InstrumentManager().install_all()\n\n    if objtrace is not None:\n        objtrace.enable()\n\n    logger.debug(\"APM Launching on PID: %s\", getpid())\n    launched = CoreAgentManager().launch()\n\n    AppMetadata.report()\n    if launched:\n        AgentContext.socket().stop()\n\n    return True\n", "path": "src/scout_apm/core/__init__.py"}], "after_files": [{"content": "# coding=utf-8\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport logging\nimport sys\nfrom os import getpid\n\nfrom scout_apm.core.config import ScoutConfig\nfrom scout_apm.core.context import AgentContext\nfrom scout_apm.core.core_agent_manager import CoreAgentManager\nfrom scout_apm.core.instrument_manager import InstrumentManager\nfrom scout_apm.core.metadata import AppMetadata\n\ntry:\n    from scout_apm.core import objtrace\nexcept ImportError:\n    objtrace = None\n\nlogger = logging.getLogger(__name__)\n\n\ndef install(*args, **kwargs):\n    if \"config\" in kwargs:\n        ScoutConfig().set(**kwargs[\"config\"])\n    context = AgentContext.build(config=ScoutConfig())\n\n    if sys.platform == \"win32\":\n        logger.info(\"APM Not Launching on PID: %s - Windows is not supported\", getpid())\n        return False\n\n    if not context.config.value(\"monitor\"):\n        logger.info(\n            \"APM Not Launching on PID: %s - Configuration 'monitor' is not true\",\n            getpid(),\n        )\n        return False\n\n    InstrumentManager().install_all()\n\n    if objtrace is not None:\n        objtrace.enable()\n\n    logger.debug(\"APM Launching on PID: %s\", getpid())\n    launched = CoreAgentManager().launch()\n\n    AppMetadata.report()\n    if launched:\n        AgentContext.socket().stop()\n\n    return True\n", "path": "src/scout_apm/core/__init__.py"}]}