Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
1.3.0, 1.4.0
-
None
-
Ubuntu 12.04 , Qt5.02
Description
I have slightly modified the "elevatedexecuteoperation" to be able to write to a process; the process basically expects a path to install some files.
I'm currently inspecting the stdout from the process in the "readprocessoutput()" function and execute a write like this:
if(output.startsWith("Please enter the destination directory"))
{ qDebug() << "got: " << QString::fromLocal8Bit(output); process->write(argument_w.toLocal8Bit()); }After building the project and installer tools, I'm able to write to the process and finish execution if I launch my installer from the terminal. When I start my installer by clicking on it, the write never takes place and I end up with a timeout error (because the process needs this path in order to do it's thing and finish). I added the "showStandardError" argument on my installation script (the one in the meta folder) and I see the line: "TERM environment variable not set." A person running the same code in Dolphin file manager didn't have this issue