All Projects → eidheim → Tiny Process Library

eidheim / Tiny Process Library

Licence: mit
A small platform independent library making it simple to create and stop new processes in C++, as well as writing to stdin and reading from stdout and stderr of a new process

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Tiny Process Library

Byob
An open-source post-exploitation framework for students, researchers and developers.
Stars: ✭ 6,949 (+2417.75%)
Mutual labels:  platform-independent, no-dependencies
Log Process Errors
Show some ❤️ to Node.js process errors
Stars: ✭ 424 (+53.62%)
Mutual labels:  library, process
Humblelogging
HumbleLogging is a lightweight C++ logging framework. It aims to be extendible, easy to understand and as fast as possible.
Stars: ✭ 15 (-94.57%)
Mutual labels:  library, no-dependencies
Bottomsheet Imagepicker
Modern image picker for Android
Stars: ✭ 267 (-3.26%)
Mutual labels:  library
I Use Arch Btw
"I use Arch btw" but it's a Turing-complete programming language.
Stars: ✭ 266 (-3.62%)
Mutual labels:  library
Rye
A modern, lightweight browser library using ES5 natives
Stars: ✭ 271 (-1.81%)
Mutual labels:  library
Sarunarchiveany
A very useful library for Unarchiving the .zip, .rar, .7z files for iOS. Block based integration of UnrarKit + SSZipArchive + LzmaSDKObjC (7z).
Stars: ✭ 275 (-0.36%)
Mutual labels:  library
Prdownloader
PRDownloader - A file downloader library for Android with pause and resume support
Stars: ✭ 2,947 (+967.75%)
Mutual labels:  library
Ble Indoor Positioning
Multilateration using bluetooth beacons
Stars: ✭ 274 (-0.72%)
Mutual labels:  library
Whereami
Locate the current executable and the current module/library on the file system
Stars: ✭ 270 (-2.17%)
Mutual labels:  library
Gorequest
GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )
Stars: ✭ 3,063 (+1009.78%)
Mutual labels:  library
Rustface
Face detection library for the Rust programming language
Stars: ✭ 269 (-2.54%)
Mutual labels:  library
Angular Library Starter
Build an Angular library compatible with AoT compilation and Tree shaking like an official package
Stars: ✭ 272 (-1.45%)
Mutual labels:  library
Cordova Plugin Dialogs
Apache Cordova Plugin dialogs
Stars: ✭ 267 (-3.26%)
Mutual labels:  library
Nostrum
Elixir Discord Library
Stars: ✭ 274 (-0.72%)
Mutual labels:  library
Landscapist
🍂 Jetpack Compose image loading library which can fetch and display network images using Glide, Coil, and Fresco.
Stars: ✭ 264 (-4.35%)
Mutual labels:  library
Jackrabbit
Mirror of Apache Jackrabbit
Stars: ✭ 273 (-1.09%)
Mutual labels:  library
Paper Switch
🎚 RAMPaperSwitch is a Swift material design UI module which paints over the parent view when the switch is turned on. iOS library by @Ramotion
Stars: ✭ 2,902 (+951.45%)
Mutual labels:  library
Visitor
The Hoa\Visitor library.
Stars: ✭ 269 (-2.54%)
Mutual labels:  library
Cordova Plugin Media Capture
Apache Cordova Plugin media-capture
Stars: ✭ 271 (-1.81%)
Mutual labels:  library

This project has moved to https://gitlab.com/eidheim/tiny-process-library.

tiny-process-library

A small platform independent library making it simple to create and stop new processes in C++, as well as writing to stdin and reading from stdout and stderr of a new process.

This library was created for, and is used by the C++ IDE project juCi++.

Features

  • No external dependencies
  • Simple to use
  • Platform independent
    • Creating processes using executables is supported on all platforms
    • Creating processes using functions is only possible on Unix-like systems
  • Read separately from stdout and stderr using anonymous functions
  • Write to stdin
  • Kill a running process (SIGTERM is supported on Unix-like systems)
  • Correctly closes file descriptors/handles

Usage

See examples.cpp.

Get, compile and run

Unix-like systems

git clone http://gitlab.com/eidheim/tiny-process-library
cd tiny-process-library
mkdir build
cd build
cmake ..
make
./examples

Windows with MSYS2 (https://msys2.github.io/)

git clone http://gitlab.com/eidheim/tiny-process-library
cd tiny-process-library
mkdir build
cd build
cmake -G"MSYS Makefiles" ..
make
./examples
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].