yast2-core
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
agent-system
src
ShellCommand.h
Go to the documentation of this file.
1
/*
2
* ShellCommand.h
3
*
4
* Functions for running shell commands with output attached to y2log
5
*
6
* Author: Michal Svec <msvec@suse.cz>
7
*
8
* $Id$
9
*/
10
11
#ifndef ShellCommand_h
12
#define ShellCommand_h
13
14
#include <string>
15
19
int
shellcommand
(
const
string
&target_root,
const
string
&command,
const
string
&tempdir =
""
);
20
24
int
shellcommand_background
(
const
string
&target_root,
const
string
&command);
25
26
#endif
/* ShellCommand_h */
shellcommand_background
int shellcommand_background(const string &target_root, const string &command)
shellcommand
int shellcommand(const string &target_root, const string &command, const string &tempdir="")
Generated on a sunny day for yast2-core by
1.8.11