support linux with handle