setup ChangeLog postinstall.cc script.cc script.h

maxb@sources.redhat.com maxb@sources.redhat.com
Thu Mar 20 10:03:00 GMT 2003


CVSROOT:	/cvs/cygwin-apps
Module name:	setup
Changes by:	maxb@sourceware.org	2003-03-20 10:02:52

Modified files:
	.              : ChangeLog postinstall.cc script.cc script.h 

Log message:
	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.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.341&r2=2.342
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/postinstall.cc.diff?cvsroot=cygwin-apps&r1=2.11&r2=2.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/script.cc.diff?cvsroot=cygwin-apps&r1=2.6&r2=2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/script.h.diff?cvsroot=cygwin-apps&r1=2.3&r2=2.4



More information about the Cygwin-apps-cvs mailing list