Unsolved QProcess doesn´t emit finished() when done
-
Since the can bus is a network device, did you try calling
ifconfig up
on another device ? That might help narrow down the problem. -
No didn´t tried yet. I have it fixed now by running a startup script . Which does exatly the same.
But i will have a look at this problem again when i have some more time. I will let you know if i find out something. -
@LogiSch17 I had a similar problem in that no QProcess::finished() signals were being emitted. The problem was SOLVED by not catching the Unix signal SIGCHLD, which implies that this signal is being used by QProcess to communicate between parent and child processes. Maybe this was your problem too.
-
signal SIGCHLD, which implies that this signal is being used by QProcess to communicate between parent and child processes.
SIGCHLD
is precisely how theQProcess
knows when the child has exited/terminated, so thatQProcess::finished()
can be emitted.