-
Notifications
You must be signed in to change notification settings - Fork 47
Group process waiting on windows #67
Comments
Also this code
not work on macOS. I get following output |
The second issue should be fixed, it just worked for me. Which commit did you use? |
Hmm, that might be the case, but I'm not sure. Are you able to try that one, i.e. replace |
The I'll let you know when I get around to working on that. |
I check on last commit. It work without use |
Oh, I thought it failed to compile on windows, that's what I checked for. |
Yes, it helps to solve the problem. |
Alright, I'll get that one in and will mark |
It was broken on commit c31f697, after this commit |
This code should threw the exception?
I expect that |
Alright, I'll check that the constructed command is done right. There was some issue with the quotes, I remember that. |
Actually that should throw, the behaviour shuold only be influences by passing an |
Finally done in e72127f, sorry for the long delay. |
Use the non-deprecated ASIO APIs.
I wrote a few examples and checked on macOS 10.12.2 (clang-800.0.42.1) and Windows 10 (msvc 2017)
This code works on macOS, but on Windows hangs on the line
g.wait();
I rewrite this code without use
bp::group
Now, i have a problem on macOS. I get following output:
If I remove
c.wait_for(std::chrono::milliseconds(100), ec);
I will get the correct output:
I think the problem is that
_exit_status->store(exit_code)
inwait_for
it is called ifboost::process::detail::api::wait_for
ended with an errorThe text was updated successfully, but these errors were encountered: