stderr may be null.