View Single Post
Posts: 34 | Thanked: 2 times | Joined on Feb 2010
#4
I still have the problem with the qprocess.

So now i set the output file to be in /opt/myapp
The installation add a text.txt in /opt/myapp/

In post installation i added:
chown -R user /opt/myapp/
chmod 777 /opt/myapp/*

But... when i'm running the process from code qprocess.start the output is always empty. I tried both ways start(path, argumenets) and start(" path and arguments in one string with spaces" )

When I'm running the process from command line on N900 the output text is filled.

on /opt/myapp/ls -la
i see the process as
rwxrwxrwx 1 user root

and the output file as
rwxrwxrwx 1 user root
------------


Thanks for help