Giter Site home page Giter Site logo

yet_another_process_library's Introduction

yet_another_process_library

A library for launching processes, very heavily based on tiny-process-library. It shares much of the code with it, to the point it could be yet another fork of it.

However, it's not, due to having incompatible interface. Notably:

  • Boost.Filesystem is a required dependency.
  • it launches processes directly, without using shell as a mediator.

yet_another_process_library's People

Watchers

 avatar  avatar  avatar

yet_another_process_library's Issues

Doesn't build on Windooze

d:\yet_another_process_library\build>cmake -GNinja ..
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is GNU 5.3.0
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.60.0
-- Found the following Boost libraries:
--   system
--   filesystem
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: D:/yet_another_process_library/build

d:\yet_another_process_library\build>ninja
[1/14] Building CXX object CMakeFiles/yet_another_process_library.dir/src/process.cpp.obj
FAILED: D:\Programy\Programowanie\msys2\mingw64\bin\g++.exe    -I../include -Wall -Wextra -pedantic -Wno-unused-parameter -std=c++11 -MMD -MT CMakeFiles/yet_another_process_library.dir/src/process.cpp.obj -MF CMakeFiles/yet_another_process_library.dir/src/process.cpp.obj.d -o CMakeFiles/yet_another_process_library.dir/src/process.cpp.obj -c ../src/process.cpp
../src/process.cpp:154:7: error: prototype for 'void yet_another_process_library::process::write(boost::string_ref)' does not match any in class 'yet_another_process_library::process'
  void process::write(boost::string_ref input)
       ^
In file included from ../src/process.cpp:6:0:
../include/yet_another_process_library/process.hpp:69:8: error: candidate is: bool yet_another_process_library::process::write(boost::string_ref)
   bool write(boost::string_ref input);
        ^
../src/process.cpp: In member function 'bool yet_another_process_library::process::is_finished()':
../src/process.cpp:162:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
../src/process.cpp: In member function 'boost::optional<int> yet_another_process_library::process::get_exit_status()':
../src/process.cpp:167:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
../src/process.cpp: In member function 'void* yet_another_process_library::process::native_handle()':
../src/process.cpp:182:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
ninja: build stopped: subcommand failed.

d:\yet_another_process_library\build>git log -1 --pretty=oneline
be8976c22a76ed98c52f4284f5867dd435044a49 removed unnecessary semicolon

d:\yet_another_process_library\build>g++ --version
g++ (Rev5, Built by MSYS2 project) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

OS: Windows 10 x86_64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.