INNER CODE UNIT · JavaScript

prepareCommandLine

NodeOS/NodeOS · lib/index.js:42

function prepareCommandLine(argv, output)
{
  const args = processArguments(argv)
  const link = fs.readlinkSync('out/latest').split('/') || []

  const cpu_family = args.cpu_family || link[link.length-3]
  const machine    = args.machine    || link[link.length-2]
  const platform   = args.platform   || link[link.length-1]

  const cpu = args.cpu

  let command = 'qemu-system-'+cpu_family

  argv =
  [
    '-machine', machine,
    '-m', '256M',
    '-vga', 'std',

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…