Changed subprocess call to work in 2.6.