Get subprocess error output from shell command

Gnarlodious gnarlodious at
Sat Apr 2 23:07:49 EDT 2011

I'm running a shell command like:
plutil -convert xml1 "~/Library/Preferences/iCab/iCab 4 Bookmarks"

Getting error:
~/Library/Preferences/iCab/iCab 4 Bookmarks: Permission denied

How would I capture this error using a method of subprocess?

I read the doc at

but confess I don't understand it.

-- Gnarlie

More information about the Python-list mailing list