code: function execute (str, { cwd }) {
    // command = replace(command, options);
    // command = prepend(command, options);
  
    let args = str.split(' ')
    const command = args.shift()
    args = [args.join(' ')]
  
    const subprocess = spawn(command, args, {
      detached: true,
      stdio: 'ignore',
      cwd
    })
  
    subprocess.unref()
  
    return subprocess.pid
  }
docs: Execute an application.
  @constructor