-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef MISC_H_
#define MISC_H_
typedef std::map<std::string, std::string> StringMap;
/** Runs a command and returns its output as a string. The exit status of the
-command is lost. */
-std::string run_command(const StringList &);
+command is returned in the second parameter if it is not null. */
+std::string run_command(const StringList &, int * =0);
#endif