Im using this command to compress files in node.js:
var command = '7z a ' + dest + ' ' + orig;
exec( command, function(err, stdout, stderr) { ...});
The problem comes when a file has spaces like 7z a my vacation.zip my vacation.pdf
How could I escape dest and orig?
JSON.stringify(dest)should do it