ShellCommand.h File Reference

#include <string>

Go to the source code of this file.

Functions

int shellcommand (const string &command, const string &tempdir="")
int shellcommand_background (const string &command)


Function Documentation

int shellcommand ( const string &  command,
const string &  tempdir 
)

Execute shell command and feed its output to y2log

References ExternalProgram::renumber_fd(), y2debug, and y2error.

Referenced by shellcommand_background(), and shellcommand_output().

int shellcommand_background ( const string &  command  ) 

Execute shell command on background

Execute shell command in background. That means start and forget about it!

References shellcommand(), and y2error.


Generated on Fri Jun 6 22:21:56 2008 for yast2-core by  doxygen 1.5.5