I'm trying to design a program that uses workers processes - which are just a different program written in C++.
I start a worker process like so:
auto worker = boost::process::child("./worker.exe");
worker->detach();
The issue is, is that the worker processes are outputting information to the same command line window that they are spawned from. This is cluttering the output of the program. Ideally I want each process to run in its own window.
Is this possible using boost::process? I've only found information about hiding the window.
I'm using Windows and Visual Studio 2019.
Thanks