
/******************************************************************************
* MODULE     : qt_sys_utils.hpp
* DESCRIPTION: external command handling
* COPYRIGHT  : (C) 2009  David MICHEL
*******************************************************************************
* This software falls under the GNU general public license version 3 or later.
* It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
* in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
******************************************************************************/

#ifndef QT_SYS_UTILS_H
#define QT_SYS_UTILS_H

#include "string.hpp"

/* exitcode= qt_system (command, result);
 *
 * Execute /command/ in the local command interpreter. Return all
 * data sent to stdout-stderr in /result/. We get the exit code of
 * the command in /exitcode/.
 */
int qt_system (string);
int qt_system (string, string&);

#endif // defined QT_SYS_UTILS_H

