Fix subprocess on Unix