Executing process - Printable Version +- MISRA Discussion Forums (https://forum.misra.org.uk) +-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4) +--- Forum: MISRA-C: 2004 rules (https://forum.misra.org.uk/forumdisplay.php?fid=17) +---- Forum: 6.20 Standard Libraries (https://forum.misra.org.uk/forumdisplay.php?fid=42) +---- Thread: Executing process (/showthread.php?tid=1517) |
Executing process - phdenis - 17-11-2019 Hello, Regarding the rule 20.11, the call of 'system' shall not be used. But In my current program, I'm creating process by using fork() and system() to start it. What is the best solution to create process and start it in order to comply with MISRA C 2004 ? By advance thanks for your answer. Re: Executing process - misra-c - 27-11-2019 The MISRA-C working group can not give advice on how to write programs. However, if you need to deviate from a rule you should read section 4.3.2. The following documents are also useful. "MISRA Compliance:2016 Achieving compliance with MISRA Coding Guidelines" which introduces the idea of permits for those cases where a required rule needs to be deviated. An example of permits for MISRA C:2004 can be found "MISRA C:2004 Permits - Deviation permits for MISRA Compliance" Re: Executing process - phdenis - 06-12-2019 Thanks for your reply and the links provided. |