4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Asger Alstrup
10 * Interface cleaned up by
11 * \author Angus Leeming
13 * Full author contact details are available in file CREDITS.
24 class ProgressInterface;
27 * An instance of Class Systemcall represents a single child process.
29 * Class Systemcall uses SystemcallPrivate to launch the child process.
30 * The user can choose to wait or not wait for the process to complete, but no
31 * callback is invoked upon completion of the child.
33 * The child process is not killed when the Systemcall instance goes out of
38 /// whether to wait for completion
40 Wait, //< wait for completion before returning from startscript()
41 DontWait //< don't wait for completion
44 /** Start child process.
45 * The string "what" contains a commandline with arguments separated
48 int startscript(Starttype how, std::string const & what);
50 static void registerProgressInterface(ProgressInterface*);
51 static ProgressInterface* progress();
54 } // namespace support
57 #endif // SYSTEMCALL_H