yast2-core
Functions

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 a sunny day for yast2-core by doxygen 1.7.3