00001 /* 00002 * ShellCommand.h 00003 * 00004 * Functions for running shell commands with output attached to y2log 00005 * 00006 * Author: Michal Svec <msvec@suse.cz> 00007 * 00008 * $Id: ShellCommand.h,v 1.2 2002/08/01 09:54:16 arvin Exp $ 00009 */ 00010 00011 #ifndef ShellCommand_h 00012 #define ShellCommand_h 00013 00014 #include <string> 00015 00019 int shellcommand (const string &command, const string &tempdir = ""); 00020 00024 int shellcommand_background (const string &command); 00025 00026 #endif /* ShellCommand_h */