21 #ifndef XAPIAN_INCLUDED_PROGCLIENT_H
22 #define XAPIAN_INCLUDED_PROGCLIENT_H
25 #include <string_view>
27 #include <sys/types.h>
67 static std::pair<int, std::string>
run_program(std::string_view progname,
68 std::string_view args,
86 std::string_view args,
Implementation of RemoteDatabase using a spawned server.
static std::pair< int, std::string > run_program(std::string_view progname, std::string_view args, pid_t &child)
Start the child process.
ProgClient(const ProgClient &)=delete
Don't allow copying.
ProgClient(std::string_view progname, std::string_view args, double timeout_, bool writable, int flags)
Constructor.
ProgClient & operator=(const ProgClient &)=delete
Don't allow assignment.
pid_t child
Process id of the child process.
RemoteDatabase is the baseclass for remote database implementations.
RemoteDatabase is the baseclass for remote database implementations.