Hi guys
Well I am playing around with the QProcess and I am having this small (big) problem.
When I run the application my current directory is this one

/home/diego/Proyectos_Personales/Ejemplos/Using_QProcess-build-desktop
And I need to make an operation in this directory
/home/diego/Proyectos_Personales/Ejemplos/Using_QProcess-build-desktop/randy-1.0

So I do this
Qt Code:
  1. process->setWorkingDirectory(path);
  2. QString x=process->workingDirectory();//This returns me the directory I want :)
  3. //But when I do a pwd
  4. process->execute("pwd");//It return me the original directory :(
  5. process->execute("dh_make -e diegoturcios@ubuntu.com");
  6. process->write("s");//
  7. process->write("\n");
To copy to clipboard, switch view to plain text mode 

So I don't know how to solved this problem.
Someone can give me an idea?
Thanks