QProcess, httpd.exe segmant fault
-
I keep getting a segment fault when trying to start httpd.exe using QProcess. Is there any way to start httpd.exe, and control it like xampp does?
this is the code I'm using.
[code]
//start httpd
httpd->start("C:/xampp/apache/bin/httpd.exe");
httpd->waitForStarted();//change button text
ui->apacheStartBtn->setText(tr("Stop"));
[/code] -
Have you checked that the variable httpd is a non-null, valid pointer?