void runShell(char* command) { NODE* cmd; cmd = findCommand(command); if (cmd) cmd->cmd(); tcputs("$>> ", COLOR_GREEN); waitCmd(); }