Remove subprocess errors from linux-specific code.