scala中可以执行外部命令Process

后续用到在总结

Process(s"hadoop fs -rm -r ${path}").!!

posted @ 2018-08-27 18:17  最最么么哒  阅读(707)  评论(0编辑  收藏  举报