View Single Post
Posts: 34 | Thanked: 2 times | Joined on Feb 2010
#1
Hello.

I have an application installed in two locations:

/usr/bin/myapp
/opt/myapp/bigprocess

Inside myapp installed in usr/bin i start the bigprocess from opt.

Code:
QProcess p;
p.start("/opt/myapp/bigprocess ", QStringList() << "/home/user/MyDoc/tmp/text.txt");
The bigprocess should create and fill the file text.txt with some data but ... it's empty.

when i run from command line the same command
/opt/myapp/bigprocess /home/user/MyDoc/tmp/text.txt my text is created and filled with data.

What do i do wrong?


Thanks

Last edited by flgor; 2010-02-24 at 16:06.