why rake tasks are not executing using and operator?
问题 I have a rake task : task :kill_process do system %q(ps -ef | awk '{if($8~"java" || $8~"glassfish" || $8~"ruby" || $8~"god" || $8~"couch"){printf("Killing : %s \n",$2);{system("kill -9 "$2)};}}') end This is basically killing processes. And this task is a part of another rake task : desc "stop the entire system" task :stop => [...., :kill_process] There's another task: desc "start the entire system" task :start => [....] When I am doing rake stop && rake start stop task is executed