[Solved] SA8155@ posix_spawn probabilistic execution failure leads to the problem that the serial port cannot communicate, strerror prints out the cause of the failure, locates the problem, if/while/break

Foreword: We call the posix_spawn function to execute Qualcomm’s daemon bin to create the /dev/ser3 node, but the probability is unsuccessful. After searching for qnx posix_spawn on google, we get the following information. If the log is a Bad file descriptor, then Line 1188: Jan 01 08:00:05.022 AIS.45107 ais_server 415 uart_device_main:475 HIGH fail: Bad file […]