Skip to content

Easily spawn and communicate bidirectionally with client processes in separate terminal emulator instances

License

Notifications You must be signed in to change notification settings

sebsikora/satellite_terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

satellite_terminal


© 2021 Dr Sebastien Sikora.

seb.nf.sikora@protonmail.com

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.

What is it?

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.

How to use it?


// blah...


Blah blah blah.cpp.

Blah.

License:

Mit License Logo

satellite_terminal is distributed under the terms of the MIT license. Learn about the MIT license here

Releases

No releases published

Packages

No packages published