the method about start rygel



Dear Jens,

I got the result about :
when I try to use system function in c code to start rygel with
command "rygel -g 5 -n br0 &",
then I will see there is ONLY ONE process from output of ps

for example :
in c code , I use the system function :
system("rygel -g 5 -n br0&"),
then there is only one process when ps output

But if I just  use the command in terminal "rygel -g 5 -n br0&"
then try to get process list by ps,
I can see there are 2 threads,

do you have idea about  this phenomenon?

it seems both case workable, but I am not sure whether any  side-effect?


Best Regards,
Soho


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]