1 #ifndef LIBFILEZILLA_PROCESS_HEADER 2 #define LIBFILEZILLA_PROCESS_HEADER 41 bool spawn(
native_string const& cmd, std::vector<native_string>
const& args = std::vector<native_string>());
59 int read(
char*
buffer,
unsigned int len);
68 bool write(
char const*
buffer,
unsigned int len);
70 inline bool write(std::string
const& s) {
71 return write(s.c_str(),
static_cast<unsigned int>(s.size()));
std::wstring native_string
A string in the system's native character type and encoding. Note: This typedef changes depending on...
Definition: string.hpp:32
The namespace used by libfilezilla.
Definition: apply.hpp:16
Sets some global macros and further includes string.hpp.
The buffer class is a simple buffer where data can be appended at the end and consumed at the front...
Definition: buffer.hpp:23
The process class manages an asynchronous process with redirected IO.
Definition: process.hpp:21