Just for the future reference of the others reviewing this, this beautiful little line is how @discordianfish has quite trivially prevented shell injection. :)  (because there's no shell invoked if you run commands this way, so there's no chance for shell injection unless "ps" is invoking a shell on its own arguments for some ungodly reason, which it won't be)