Problem with QProcess on embedded system
Mobile and Embedded
3
Posts
3
Posters
2.4k
Views
1
Watching
-
i create a project that can run a exe file. i tried to run the program on linux(Ubuntu), and it works OK.
when i run this on embedded it doesn't work.this is the code for the class that run the exe:
@void ProcessControllerItem::startProcess(const QString& _path, const QString& _args)
{
QProcess* process = new QProcess;
process->start(_path, _args.split(" "));
}
@when i run this function i pass the appropriate arguments to the function:
- the path - where the exe is (on the embedded - the path from the root)
- the arguments for the exe
for example :
@startProcess("/root/path/to/the/exe/myExeFile","1 2");@Does anyone have an idea why it does not work?
tnx