Added killall command to terminal

This commit is contained in:
Daniel Xie
2017-06-05 12:59:30 -05:00
parent 0dc3d56e3c
commit f7018f082c
3 changed files with 13 additions and 1 deletions
+4
View File
@@ -256,6 +256,10 @@ function evaluate(exp, workerScript) {
}).catch(function(e) {
reject(e);
});
} else if (exp.func.value == "kill") {
} else if (exp.func.value == "killall") {
} else if (exp.func.value == "scp") {
if (exp.args.length != 2) {
return reject(makeRuntimeRejectMsg(workerScript, "scp() call has incorrect number of arguments. Takes 2 arguments"));