Improved shellArgs() method.