Adjust to pericmd 1.17 (run() now returns envres)