ShellResult as inner class