From: Ranousse <ran...@gm...> - 2012-02-25 13:19:31
|
>> Does readlink /bin/sh says dash ? > sh is a symlink to bash here. >> If yes, does >> sh -c xpdf produces 2 processes (sh and xpdf) or just one (xpdf) ? > hmm.. > urxvt > `- zsh > `-xpdf Actually, I think I would get the same result as you in this case if I had sh pointing to bash. dash -c xpdf produces xterm `-zsh `-dash `-xpdf but bash -c xpdf produces xterm `-zsh `-xpdf That's why I said I thought bash performed a kind of optimization to reduce the number of processes while dash (default for sh on Debian and Ubuntu nowadays) did not. As I think, notion uses the system command to launch external apps, and system calls sh -c, I get a lot of unecessary processes. |