LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   system command (https://www.linuxquestions.org/questions/programming-9/system-command-693673/)

navderm 12-29-2008 10:59 AM

system command
 
Is is a good practice to evoke a RTlinux object file from a normal linux file using system command??

jcookeman 12-29-2008 11:16 AM

Im afraid you're gonna have to give a bit more information than that.

navderm 12-29-2008 08:50 PM

Its basically like

i use a normal Linux file and in its main i take an input from a user. if the user says y then the RTlinux starts with the code system("rtlinux start filename.o");

Can this be used without any problems or should the rtlinux file be loaded differently in terminal by the help of >rtlinux start filename.o

jcookeman 12-30-2008 04:18 AM

There should be no problem with this. It doesn't matter how you are loading RTLinux runtime. However, it will not be a session leader in the shell. But, I cannot imagine how this will impact things.

dhanyaelizabeth 01-02-2009 01:46 AM

As a person trained in "Web Application Security" - I have to inform you that if any malicious user found out that you are doing so - and your application doesn't do proper filtering and validation of the input parameters - you have a possible security vulnerability scenario waiting to be exploited here!

Linux Archive


All times are GMT -5. The time now is 02:33 AM.