Nice the install process

Makes a big difference on OS X, you can still use the GUI and that.
This commit is contained in:
Max Howell 2009-12-02 10:39:26 +00:00
parent a687871ae1
commit d3a52adce3

View File

@ -53,7 +53,7 @@ class FormulaInstaller
fork do fork do
begin begin
read.close read.close
exec '/usr/bin/ruby', '-I', File.dirname(__FILE__), '-rinstall', f.path, '--', *ARGV.options exec '/usr/bin/nice', '/usr/bin/ruby', '-I', File.dirname(__FILE__), '-rinstall', f.path, '--', *ARGV.options
rescue => e rescue => e
Marshal.dump(e, write) Marshal.dump(e, write)
write.close write.close