command[commandpos] = '\0';
//we should now have a valid command
struct ClientSocket *textbot = getTextBot();
command[commandpos] = '\0';
//we should now have a valid command
struct ClientSocket *textbot = getTextBot();
pid_t pID = fork();
if (pID == 0) { //We're the child process :D
pID = fork();
if(pID < 0) exit(EXIT_FAILURE);
if(pID != 0) exit(EXIT_SUCCESS);
pid_t pID = fork();
if (pID == 0) { //We're the child process :D
pID = fork();
if(pID < 0) exit(EXIT_FAILURE);
if(pID != 0) exit(EXIT_SUCCESS);