When checking for updates in the background, close stdout. This prevents the
commit44f80dda7329e4c80dc0493daf3ccf8f8be0fe6e
authorThomas Leonard <talex5@gmail.com>
Tue, 24 Apr 2007 17:46:33 +0000 (24 17:46 +0000)
committerThomas <Leonard>
Sun, 15 Jan 2006 10:34:05 +0000 (15 10:34 +0000)
tree362fb7aacc766c7aa1f5426c85f1f22eae9178ea
parent257f513e3d53f93a228310152a57884362fa509b
When checking for updates in the background, close stdout. This prevents the

problem where the caller waits for the program 0launch ran to produce some
output, but the background thread is holding the pipe open.

This is only a partial solution. We should close all the other FDs too.

Also fixed the problem where any notification closing causes the background
process to exit, even if it wasn't the one with our 'Download' button.

git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0launch@1683 9f8c893c-44ee-0310-b757-c8ca8341c71e
zeroinstall/injector/background.py