#define FORKEDCALLS_H
#include "support/shared_ptr.h"
+#include "support/strfwd.h"
#include <boost/signal.hpp>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
-#include <string>
-
namespace lyx {
namespace support {
class ForkedCall : public ForkedProcess {
public:
+ ///
+ ForkedCall(std::string const & path = empty_string());
///
virtual shared_ptr<ForkedProcess> clone() const {
return shared_ptr<ForkedProcess>(new ForkedCall(*this));
/** Start the child process.
*
- * The command "what" is passed to execvp() for execution.
+ * The command "what" is passed to execvp() for execution. "$$s" is
+ * replaced accordingly by commandPrep().
*
* There are two startScript commands available. They differ in that
* the second receives a signal that is executed on completion of
private:
///
virtual int generateChild();
+ ///
+ std::string cmd_prefix_;
};