App engine compatibility: fail on subprocess import

Subprocess is not available on App Engine, so if the import fails, ignore it.