kommand
kommand copied to clipboard
Add tryWait() to Child class
I added an implementation of tryWait() method to Child class. It more-or-less follows the semantics of try_wait() from Rust:
- if the process is still running, it returns
null - otherwise, it returns the exit status
Please let me know if the coding style is appropriate for your project.