2
/******************************************************************************
3
* MODULE : qt_sys_utils.hpp
4
* DESCRIPTION: external command handling
5
* COPYRIGHT : (C) 2009 David MICHEL
6
*******************************************************************************
7
* This software falls under the GNU general public license version 3 or later.
8
* It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
9
* in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
10
******************************************************************************/
12
#ifndef QT_SYS_UTILS_H
13
#define QT_SYS_UTILS_H
17
/* exitcode= qt_system (command, result);
19
* Execute /command/ in the local command interpreter. Return all
20
* data sent to stdout-stderr in /result/. We get the exit code of
21
* the command in /exitcode/.
23
int qt_system (string);
24
int qt_system (string, string&);
26
#endif // defined QT_SYS_UTILS_H