Skip to content
Advertisement

Tag: scope

How to launch the same linux process with different arguments in multiple threads with Poco process

When trying to launch the same C++ Linux program, with different arguments and with Poco::process, I get exit 72 code from my second DummyProcess. This code snippet below is executed in a thread function, which launches every other time, with different task and duration arguments. When task-1 is running and task-2 wants to launch, its PID gets assigned (different then

Advertisement