I am trying to run an external command which uses environment variables to authenticate. For this I am using boost::process: This, however, doesn' ...
I am trying to run an external command which uses environment variables to authenticate. For this I am using boost::process: This, however, doesn' ...
I have a systemd service which runs and does its thing. Periodically I need it to upgrade itself, which requires a shutdown and a restart of the servi ...
I have several C-utilities. Each of them reads data from stdin, process data and write the result to stdout. Each utility stops when it's stdin closed ...
Is there a way to conditionally add arguments to a constructor? I'd also like to know what this type of construction is called so I can search it myse ...
I am using boost.process, trying to spawn a child process and do some communication btw parent and child process. I create unnamed socket pair and pas ...
I need to pass some specific arguments from one programm to another using boost::program_options and boost::process. Here is a simple example. In this ...
Code: Output: foo; echo bar Desired output: foo bar I am receiving a string containing 1:MANY commands to run separated by a semi-colon; as one m ...
I have a parent GUI app built with GTKmm, and I need to spawn a child process (another GUI app) and communicate with it. I use boost::process to do th ...
boost/process.hpp provides a nice mechanism to spawn and manage processes. It provides a child.terminate() method to send SIGKILL to a child. How wo ...
From a C++ program (running under Windows 10), I use boost::process to invoke Python in order to interpret a simple Python script. I want to redirect ...
I'm trying to design a program that uses workers processes - which are just a different program written in C++. I start a worker process like so: ...
Boost.process allows the usage of Boost.asio in order to perform asynchronous read. From what I understand, this is useful to read output while proce ...
I do want to kill a process I have a pid of, so my code is the following: pid_t pid = 28880; boost::process::child process { pid }; std::cout << ...
I know that there is a way with a boost::process::child as described here: Can this work when calling boost::process::spawn or do I have to use a b ...
I'm trying to load a gstreamer plugin using boost::process to call gst-launch. When I load the plugin via the command line everything works well: ...
I'm starting a process through boost::process. The process uses std::cout and std::cerr to output some information. I need to retrieve those informati ...
I have been using boost 1.65, did not change the code, updated boost to version 1.71 and now suddenly boost::process::child("command-in-path") does no ...
What should be a return code of a terminated process? I run "bash -c \"while true; do true; done\"" and call terminate. In boost 1.65 it was 0, now in ...
I need to use a cross-platform library to control child processes. The only mature recommended library I found is boost::process, but I'm new to Boost ...
I am trying to write a boost::process-based program that is able ambiguously redirect input, output and error streams based on whether to not a file t ...