system ( command2.c_str() );
wxMessageBox(_T("Done !"),_T("creaNewProject"),
wxOK | wxICON_INFORMATION);
system ( command2.c_str() );
wxMessageBox(_T("Done !"),_T("creaNewProject"),
wxOK | wxICON_INFORMATION);
}
else
{
wxString err(_T("An error occured while running '"));
err += crea::std2wx(command) + _T("'");
wxMessageBox(err,_T("creaNewProject"),wxOK | wxICON_ERROR);
}
else
{
wxString err(_T("An error occured while running '"));
err += crea::std2wx(command) + _T("'");
wxMessageBox(err,_T("creaNewProject"),wxOK | wxICON_ERROR);
#else
std::string command("creaNewProject.sh ");
command += "\"" + crea::wx2std(dir) + "\"" +" " + crea::wx2std(name);
#else
std::string command("creaNewProject.sh ");
command += "\"" + crea::wx2std(dir) + "\"" +" " + crea::wx2std(name);
{
wxMessageBox(_T("Done !"),_T("creaNewProject"),
wxOK | wxICON_INFORMATION);
{
wxMessageBox(_T("Done !"),_T("creaNewProject"),
wxOK | wxICON_INFORMATION);