X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmisc.h;h=99e41f010be31f2d62e22328c3a601a7d93e869a;hb=a63fc8c311155582a1efb3bc07f010cf159f299c;hp=508a9b0cf6a0fd0b48c876c91742df1695ac69b2;hpb=2edc25f87590bd81808792c3c38cab5ae8b94eb3;p=builder.git diff --git a/source/misc.h b/source/misc.h index 508a9b0..99e41f0 100644 --- a/source/misc.h +++ b/source/misc.h @@ -25,7 +25,7 @@ typedef std::list PathList; typedef std::map 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