© 2021 Dr Sebastien Sikora.
A simple C++ library for POSIX compatible operating systems that enables your project to easily spawn and communicate bidirectionally with client processes in separate terminal emulator instances.
Updated 29/11/2021.
When developing a C++ project on for POSIX compatible operting systems (eg GNU/Linux), you may wish to run one or more additional child processes each with access to their own terminal emulator instance, and the ability to communicate bi-directionally with the parent process.
For instance, in the simplest case if the parent process occupies it's terminal emulator instance with it's own output, you may wish to spawn a child process with it's own terminal emulator instance to display messages from the parent process and receive user input to send back.
This can be implemented within a C or C++ project on compatible operting systems using the functionality defined in the unistd.h, sys/stat.h & fcntl.h headers to spawn a child process, and create named pipes that provide a communication channel available to the parent and child processes.
satellite_terminal is a simple library that makes it easy to incorporate this functionality within your own C++ projects by fully automating this process.
// blah...
Blah blah blah.cpp
.
Blah.
satellite_terminal is distributed under the terms of the MIT license. Learn about the MIT license here