我需要使用执行一组Cassandra DB命令的nodeJS运行一个shell脚本文件。任何人都可以帮我在这里如何使用nodejs运行shell脚本文件?
里面的db.sh文件。
create keyspace dummy with replication = {'class':'SimpleStrategy','replication_factor':3}
create table dummy (userhandle text, email text primary key , name text,profilepic)
欢迎来到SO !.在发布问题之前请阅读以下文章: https://stackoverflow.com/help/how-to-ask – garfbradaz