xapian-core  1.4.25
Functions
progclient.cc File Reference

implementation of NetClient which spawns a program. More...

#include <config.h>
#include "safefcntl.h"
#include "progclient.h"
#include <xapian/error.h>
#include "closefrom.h"
#include "debuglog.h"
#include <cerrno>
#include <string>
#include <vector>
#include <sys/types.h>
#include "safesyssocket.h"
#include <sys/wait.h>
+ Include dependency graph for progclient.cc:

Go to the source code of this file.

Functions

static void split_words (const string &text, vector< string > &words, char ws=' ')
 Split a string into a vector of strings, using a given separator character (default space) More...
 

Detailed Description

implementation of NetClient which spawns a program.

Definition in file progclient.cc.

Function Documentation

◆ split_words()

static void split_words ( const string &  text,
vector< string > &  words,
char  ws = ' ' 
)
static

Split a string into a vector of strings, using a given separator character (default space)

Definition at line 53 of file progclient.cc.

Referenced by ProgClient::run_program().