exec the elasticsearch cmd
allow passing arguments on commandline