blob: 5b91ca68cc72976ba3258303ffc1d28ae5860a4b [file] [log] [blame]
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <base/logging.h>
#include "minios/minios.h"
namespace {
constexpr char kDebugConsole[] = "/dev/pts/2";
} // namespace
int MiniOs::Run() {
LOG(INFO) << "Starting miniOS.";
// Start the shell on DEBUG console.
return ProcessManager().RunCommand({"/bin/sh"}, kDebugConsole, kDebugConsole);
}