code: function setSpawnObject(admin) {
      admin = ((admin === undefined) ? getDefaultAdmin() : admin);
      if (isLinux && admin) {
          spawn = sudoarg;
      } else {
          spawn =  cparg.spawn;
      }
      return admin;
  }
docs: Set the current spawn object.
  Can be sudo for getting the admin prompt or child_process
  
  @param admin