We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0db2c77 commit 218dabcCopy full SHA for 218dabc
1 file changed
bee/subprocess/subprocess_posix.cpp
@@ -136,22 +136,6 @@ namespace bee::subprocess {
136
}
137
138
139
- void spawn::redirect(stdio type, file_handle h) noexcept {
140
- switch (type) {
141
- case stdio::eInput:
142
- fds_[0] = h.value();
143
- break;
144
- case stdio::eOutput:
145
- fds_[1] = h.value();
146
147
- case stdio::eError:
148
- fds_[2] = h.value();
149
150
- default:
151
- std::unreachable();
152
- }
153
154
-
155
void spawn::env(environment&& env) noexcept {
156
env_ = std::move(env);
157
0 commit comments