2014-03-24 2:34 GMT-04:00 Adrian Sendroiu <[email protected]>: > - ar merge mai bine "ps -f --ppid 1" în loc de awk
Asta n-am schimbat :) > - dup2 în loc de dup > - daemon(3) nu e apel de sistem > - "Now, if stdout is a terminal we have to redirect output to a file, > just like the original command does:" - codul nu mai face partea cu > dup2 pentru redirectare > - "We can use disown to make the process become inherited by init" - > disown nu face chiar asta > - "If we go to another terminal, we'll see that the process has been > adopted by init" - în rezultatul comenzii următoare gedit nu are ca > părinte pe init Changed all, mersi. -- Mihai Maruseac (MM) "If you don't know, the thing to do is not to get scared, but to learn." -- Atlas Shrugged. _______________________________________________ http://lists.rosedu.org/listinfo/rosedu-general http://lists.rosedu.org/guidelines - Mailing List Guidelines
