public NodeCommandResult RunCommand(string command, params string[] args)
{
throw new NotImplementedException ();
/*
lock (nodeLock) {
lock (syncLock) {
lastResult = null;
lock (eventLock) {
running = true;
}
if (logNode)
Console.WriteLine ("node debugger<: " + command + " " + string.Join (" ", args));
sin.WriteLine (command + " " + string.Join (" ", args));
sin.Flush ();
if (!Monitor.Wait (syncLock, 10000))
throw new InvalidOperationException ("Command execution timeout: " + command + " " + string.Join (" ", args));
if (lastResult.Status == CommandStatus.Error)
throw new InvalidOperationException (lastResult.Data);
return lastResult;
}
}
*/
}