j0r1 / JRTPLIB

RTP Library
MIT License
581 stars 220 forks source link

In the embedded Linux environment, the application runs automatically… #27

Open weicaishi opened 5 years ago

weicaishi commented 5 years ago

In the embedded Linux environment, the application runs automatically when it boots up, which will lead to the failure of LOGNAME acquisition.

j0r1 commented 5 years ago

I'm sorry, but I don't like hardcoding a user name in the library. Why don't you just set LOGNAME when starting the application? Something like

LOGNAME=root /path/to/application