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 2b3abd0 commit 8434611Copy full SHA for 8434611
plugins/builtin/source/content/providers/command_provider.cpp
@@ -14,6 +14,15 @@
14
#include <nlohmann/json.hpp>
15
#include <wolv/utils/charconv.hpp>
16
17
+#if defined(OS_WINDOWS)
18
+ #include <windows.h>
19
+#else
20
+ #include <unistd.h>
21
+ #include <sys/types.h>
22
+ #include <sys/wait.h>
23
+ #include <fcntl.h>
24
+#endif
25
+
26
namespace hex::plugin::builtin {
27
28
using namespace std::chrono_literals;
@@ -163,7 +172,7 @@ namespace hex::plugin::builtin {
163
172
close(stdoutPipe[1]);
164
173
165
174
if (!stdinData.empty()) {
166
- write(stdinPipe[1], stdinData.data(), stdinData.size());
175
+ std::ignore = write(stdinPipe[1], stdinData.data(), stdinData.size());
167
176
}
168
177
close(stdinPipe[1]);
169
178
0 commit comments