Fix subprocess invocation per suggestion from @wjwwood