-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef EXTERNALACTION_H_
#define EXTERNALACTION_H_
*/
class ExternalAction: public Action
{
-public:
- int check();
protected:
StringList argv;
- 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