1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-27 23:28:38 +02:00

Android release v1.0.308

This commit is contained in:
Laurent Cozic
2019-10-13 23:19:15 +02:00
parent 22c3646fc6
commit a5f17fad58
3 changed files with 4 additions and 7 deletions

View File

@ -4,7 +4,7 @@ toolUtils.execCommand = function(command) {
const exec = require('child_process').exec;
return new Promise((resolve, reject) => {
const child = exec(command, (error, stdout) => {
exec(command, (error, stdout) => {
if (error) {
if (error.signal == 'SIGTERM') {
resolve('Process was killed');
@ -15,9 +15,6 @@ toolUtils.execCommand = function(command) {
resolve(stdout.trim());
}
});
child.stdout.pipe(process.stdout);
child.stderr.pipe(process.stderr);
});
};