Using NSTask to execute softwareupdate

Colin Swelin <[email protected]> Thu, 6 Jan 2011 11:54:40 -0500
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
Hi,

I"m currently using NSTask to execute softwareupdate to install patches, however, there's a few patches that seem to hang when trying to install. For example, the latest 10.6.6 update and a older iTunes patch, everything else seems to work perfectly fine.

Anyone have any clues to why this might happen? I've set the "COMMAND_LINE_INSTALL" environment variable to 1, so i'm a little confused to why this is happening.

Thanks.