相关疑难解决方法(0)

如何使用nodejs运行shell脚本文件?

我需要使用nodeJS运行一个shell脚本文件,该文件执行一组Cassandra DB命令.任何人都可以帮我这个

在db.sh文件中.

create keyspace dummy with   replication = {'class':'SimpleStrategy','replication_factor':3}

create table dummy (userhandle text, email text primary key , name text,profilepic)
Run Code Online (Sandbox Code Playgroud)

shell cassandra node.js

28
推荐指数
4
解决办法
9万
查看次数

标签 统计

cassandra ×1

node.js ×1

shell ×1