I'm working on a project and I hope you can help me solve a problem.
I have four programs that are written in C. They have been compiled using
gcc and they work as they should. Because the four programs are drivers for some devices, I need to start them again if the PC resets for any reason, or if the power supply is lost.
In the programs I have some parts where I am printing some statuses, and for the moment I start the programs using a console.
How can I start the programs on startup in Linux Mint?
Is it possible on startup to activate four consoles and with the consoles so start the program? If not do I have to transfer the output of the programs in file? (Four devices is connected to the PC via four serial ports.)