Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 974 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 974 Bytes

It is a wrapper around libcomcom (Command Communication Library): https://github.com/vporton/libcomcom

libcomcom does not work on Windows.

Description

Spawn an OS command with given input and receive its output.

The main feature of this library is deadlock avoidance. (Deadlock in this case is when your program can't write to the input of another program because of waiting for its output which does not happen because of no input, so a vicious circle leading to infinite waiting time.)

Usage

For an example usage, see test.d file.

Projects

To support this project:

The library is to be used in the following project: https://github.com/vporton/xml-boiler (which I am going to rewrite in D programming language).