Get subprocess error output from shell command

Gnarlodious gnarlodious at
Sun Apr 3 05:07:49 CEST 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