Attempting to use stdin in cmdmod