command += " \"" + bbCategories + "\"";
//excecute command
+ //wxMessageBox(crea::std2wx("Command: ->" + command + "<-"),_T("Creating Black Box"),wxOK | wxICON_INFORMATION);
if(system(command.c_str()))
{
result = new std::string("Error executing command '" + command + "'");