I have an application running in a terminal on Photon (QNX 6.2). I would
like to shutdown the system in response to an event. I tried doing the
system(“shutdown”) call. But that doesn’t seem to be working. Is there
another system call or something that gracefully shuts the system down?
BTW that system(“shutdown”) call works if you don’t boot into photon and
run the app without the GUI.
Thanks in anticipation,