Skip to content

D-Programming-Deimos/libcomcom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published