Fixes #8836 - Add env param/documentation to cmd.wait
Merge pull request #8837 from micahhausler/develop

Fixes #8836 - Add env param/documentation to cmd.wait