aboutsummaryrefslogtreecommitdiff
path: root/build2/functions-process.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-07-01Split build system into library and driverBoris Kolpackov1-253/+0
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-06-20Add $process.run() and $process.run_regex() functionsBoris Kolpackov1-0/+253
$process.run(<prog>[ <args>...]) Return trimmed stdout. $process.run_regex(<prog>[ <args>...], <pat> [, <fmt>]) Return stdout lines matched and optionally processed with regex. Each line of stdout (including the customary trailing blank) is matched (as a whole) against <pat> and, if successful, returned, optionally processed with <fmt>, as an element of a list.