Support subprocess compatibility issues with subprocess