executeCommand method

  1. @override
Future<VanillaServer> executeCommand (String cmd)
override

Implementation

@override
Future<VanillaServer> executeCommand(String cmd) async {
  if(!this.running) throw("Server is not running!");
  print("> $cmd");
  process.stdin.writeln(cmd);
  return this;
}