From 06046493bf375b70ab1c655aceb928208059b9de Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Sat, 1 Apr 2017 18:07:10 +0200 Subject: [PATCH] if abiword immediately exists stdoutCallback is not defined yet --- src/node/utils/Abiword.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/Abiword.js b/src/node/utils/Abiword.js index 1d9ac5d30..7f5e2de51 100644 --- a/src/node/utils/Abiword.js +++ b/src/node/utils/Abiword.js @@ -91,7 +91,7 @@ else abiword.on('exit', function (code) { spawnAbiword(); - stdoutCallback("Abiword died with exit code " + code); + console.error("Abiword died with exit code " + code); }); //delegate the processing of stdout to a other function