File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,12 @@ piped_processt::piped_processt(const std::vector<std::string> &commandvec)
144
144
PIPE_TYPE_BYTE | PIPE_NOWAIT, // Bytes and non-blocking
145
145
PIPE_UNLIMITED_INSTANCES, // Probably doesn't matter
146
146
BUFSIZE,
147
- BUFSIZE, // Output and input bufffer sizes
148
- 0 , // Timeout in ms, 0 = use system default
147
+ BUFSIZE, // Output and input bufffer sizes
148
+ 0 , // Timeout in ms, 0 = use system default
149
+ // This is the timeout that WaitNamedPipe functions will wait to try
150
+ // and connect before aborting if no instance of the pipe is available.
151
+ // In practice this is not used since we connect immediately and only
152
+ // use one instance (no waiting for a free instance).
149
153
&sec_attr); // For inheritance by child
150
154
if (child_std_IN_Rd == INVALID_HANDLE_VALUE)
151
155
{
You can’t perform that action at this time.
0 commit comments