43#ifndef LASS_GUARDIAN_OF_INCLUSION_UTIL_SUBPROCESS_H
44#define LASS_GUARDIAN_OF_INCLUSION_UTIL_SUBPROCESS_H
68 typedef std::vector<std::string> TArgs;
69 typedef std::vector<std::wstring> TWArgs;
71 explicit Subprocess(
const TArgs& args);
72 explicit Subprocess(
const TWArgs& args);
79 void sendSignal(
int signal);
81 bool isRunning()
const;
82 bool isDetached()
const;
87 void enforceStarted()
const;
88 void enforceNotDetached()
const;
89 bool checkExitCode(
bool join=
false)
const;
91 impl::SubprocessImpl* pimpl_;
92 mutable int exitCode_;
93 mutable bool hasExitCode_;
use as base class if derived should not be copyable
#define LASS_DLL
DLL interface: import or export symbols?
general utility, debug facilities, ...
Library for Assembled Shared Sources.