/* $Id$
This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
*/
class ExternalAction: public Action
{
-public:
- int check();
protected:
StringList argv;
- Msp::Path work_dir;
- int pid;
- int exit_code;
+ Msp::FS::Path work_dir;
+ int pid;
+ int exit_code;
ExternalAction(Builder &b): Action(b), pid(0), exit_code(0) { }
+
+ /** Starts the external program. Fill in argv before calling this. */
void launch();
+
+public:
+ virtual int check();
};
#endif