]> cygwin.com Git - cygwin-apps/setup.git/commit
2003-03-18 Igor Pechtchanski <pechtcha@cs.nyu.edu>
authorMax Bowsher <maxb1@ukf.net>
Thu, 20 Mar 2003 10:02:51 +0000 (10:02 +0000)
committerMax Bowsher <maxb1@ukf.net>
Thu, 20 Mar 2003 10:02:51 +0000 (10:02 +0000)
commit1069407c7f6072c2b71c39ecbfa733093c81896a
tree138ae6601a7e31f2b07e127994854b7afedcc341
parent84fd41a91c765041cc48ee9168606d14d34a5d44
2003-03-18  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* script.cc (run): Add file_out parameter.
Redirect output of subprocess to file, creating the
path if necessary.  Minimize the script window.
(run_script): Add optional to_log boolean parameter.
If to_log, redirect output to temporary file and then
import it into LOG_BABBLE.
(OutputLog): New helper class.
(operator<<): New operation on OutputLog.
* script.h (run_script): Add optional to_log parameter.
* postinstall.cc (RunFindVisitor::visitFile): Instruct
run_script() to log script output.
(do_postinstall): Ditto.
ChangeLog
postinstall.cc
script.cc
script.h
This page took 0.034051 seconds and 5 git commands to generate.