QProcess doesn´t emit finished() when done
Unsolved
QtonPi
-
Since the can bus is a network device, did you try calling
ifconfig up
on another device ? That might help narrow down the problem. -
@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.