]> git.tdb.fi Git - builder.git/blobdiff - source/misc.h
Set PKG_CONFIG_PATH to include prefix
[builder.git] / source / misc.h
index 508a9b0cf6a0fd0b48c876c91742df1695ac69b2..99e41f010be31f2d62e22328c3a601a7d93e869a 100644 (file)
@@ -25,7 +25,7 @@ typedef std::list<Msp::FS::Path> PathList;
 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