mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 15:04:58 +00:00
Update websocket.js
This commit is contained in:
parent
fda2b3fdec
commit
92d23f4dff
|
@ -46,11 +46,13 @@ var WebsocketObject = function() {
|
|||
|
||||
this.send = function(uri, msg) {
|
||||
var FN = "stdin.txt";
|
||||
|
||||
try {
|
||||
FILE.writeFile(FN, msg);
|
||||
|
||||
return SHELL.run([
|
||||
try {
|
||||
FILE.writeFile(FN, msg + "\n", "utf-8");
|
||||
console.log(msg);
|
||||
sleep(1);
|
||||
|
||||
return SHELL.exec([
|
||||
this.binPath,
|
||||
"-n1",
|
||||
"-t",
|
||||
|
|
Loading…
Reference in New Issue
Block a user