[Qgis-developer] Re: [Qgis-user] GRASS Tools Module *.*** not found

Radim Blazek radim.blazek at gmail.com
Fri May 5 09:06:18 EDT 2006


On 5/5/06, Paolo Cavallini <cavallini at faunalia.it> wrote:
> Sorry, I forgot:
> echo $?
> 0

Then I dont see any reason why it should fail:

    if ( !process.waitForFinished()
         || (process.exitCode() != 0 && process.exitCode() != 255) )
    {
        std::cerr << "process.exitCode() = " <<  process.exitCode() <<
std::endl;
        QMessageBox::warning( 0, "Warning", "Cannot start module " +
mXName + "<br>"
                  + cmd + " " + arguments.join(" ") + "<br>"
                  + QString(process.readAllStandardOutput()) + "<br>"
                  + QString(process.readAllStandardError()) );
        return;
    }

Radim

> pc
> --
> Paolo Cavallini
> email+jabber: cavallini at faunalia.it
> www.faunalia.it
> Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy   Tel: (+39)348-3801953
>



More information about the Qgis-developer mailing list