|
JH-Toolkit v1.4.1
An engineering-oriented C++20 toolkit with duck-typed concepts, static design, async coroutines, and semantic containers — header-only, RTTI-free, and concurrency-friendly.
|
Process handle representing a single launched instance. More...
#include <jh/synchronous/ipc/process_launcher.h>
Public Member Functions | |
| handle (const handle &)=delete | |
| handle & | operator= (const handle &)=delete |
| handle (handle &&other) noexcept | |
| handle & | operator= (handle &&other) noexcept |
| ~handle () | |
Destructor enforces std::thread-like semantics. | |
| void | wait () |
| Wait for the launched process to finish. | |
Friends | |
| class | process_launcher |
Process handle representing a single launched instance.
wait()-ed before destruction. std::terminate(). std::thread semantics and ensure safe, deterministic process lifetime management. process_launcher<Path, IsBinary> template.
|
inline |
Destructor enforces std::thread-like semantics.
wait() has not been called, the program is terminated.
|
inline |
Wait for the launched process to finish.
Blocks until the child process terminates. Multiple calls are idempotent.