This repository was archived by the owner on Jul 11, 2023. It is now read-only.
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
kill does not work #57
Open
Description
Rsync = require('rsync');
cmd = new Rsync()
.flags('avz')
.source('src/')
.destination('dst/');
c = cmd.execute(
function(error,code,cmd) { console.log("Done"); },
function(data) { console.log(data.toString()); },
function(data) { console.log(data.toString()); },
);
setTimeout(function() {
console.log("!!!!!!!Killing!!!!!!");
c.kill();
},4000);
Should kill the sync after 4 seconds. It does not. rsync does seem to receive the signal.
Metadata
Metadata
Assignees
Labels
No labels