added Process.get_exitcode method