Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

ShellCommand.cc File Reference

#include <errno.h>
#include <stdio.h>
#include <string>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "ycp/y2log.h"
#include "ShellCommand.h"

Defines

#define y2log_component   "bash"

Functions

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

Define Documentation

#define y2log_component   "bash"
 


Function Documentation

int shellcommand const string &  command,
const string &  tempdir
 

Execute shell command and feed its output to y2log

int shellcommand_background const string &  command  ) 
 

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


Generated on Fri Nov 9 18:15:23 2007 for yast2-core by doxygen 1.3.6