* Licence details can be found in the file COPYING.
*
* \author Asger Alstrup
- * \author Peter Kümmel
*
* Interface cleaned up by
* \author Angus Leeming
namespace lyx {
namespace support {
-class ProgressInterface;
-
/**
* An instance of Class Systemcall represents a single child process.
*
- * Class Systemcall uses SystemcallPrivate to launch the child process.
+ * Class Systemcall uses system() to launch the child process.
* The user can choose to wait or not wait for the process to complete, but no
* callback is invoked upon completion of the child.
*
/** Start child process.
* The string "what" contains a commandline with arguments separated
- * by spaces.
+ * by spaces. Unset "process_events" in case UI should be blocked while
+ * processing the external command.
*/
- int startscript(Starttype how, std::string const & what);
-
- static void registerProgressInterface(ProgressInterface*);
- static ProgressInterface* progress();
+ int startscript(Starttype how, std::string const & what, bool process_events = false);
};
} // namespace support