Fix process cmd array