We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 261a7d8 commit 5f729faCopy full SHA for 5f729fa
protocols/pipe_protocol/pipe_protocol.py
@@ -1,4 +1,5 @@
1
import io
2
+import platform
3
import typing
4
5
from common.exceptions import SmartInspectError
@@ -53,6 +54,9 @@ def _load_options(self) -> None:
53
54
self._pipe_name = self._get_string_option("pipename", "smartinspect")
55
56
def _internal_connect(self) -> None:
57
+ if platform.system() != "Windows":
58
+ raise SmartInspectError("Pipe Protocol is only supported on Windows")
59
+
60
filename = self._PIPE_NAME_PREFIX + self._pipe_name
61
try:
62
self._stream = open(filename, "w+b", buffering=self._BUFFER_SIZE)
0 commit comments