From: Johnjohn <jj...@us...> - 2004-05-21 09:20:55
|
Update of /cvsroot/ngetsuite/ngetsuite/ngetsuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5722 Modified Files: downloader.rb Log Message: removed unnecessary nice from command line (doesn't suppress invocation of sh) Index: downloader.rb =================================================================== RCS file: /cvsroot/ngetsuite/ngetsuite/ngetsuite/downloader.rb,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** downloader.rb 17 Mar 2004 10:14:19 -0000 1.29 --- downloader.rb 21 May 2004 09:20:44 -0000 1.30 *************** *** 185,189 **** downloadexpr = "-r '#{@value}'" end ! @io = IO.popen("nice -n#{$config['nice_nget_download']} -- #{$config['nget']} -q -I -G #{@group} #{downloadexpr} 2>&1") @t = Thread.new(@io, self){ |io, parent| begin --- 185,189 ---- downloadexpr = "-r '#{@value}'" end ! @io = IO.popen("#{"nice -n#{$config['nice_nget_download']} -- " if $config['nice_nget_download'] != 0} #{$config['nget']} -q -I -G #{@group} #{downloadexpr} 2>&1") @t = Thread.new(@io, self){ |io, parent| begin |