if abiword immediately exists stdoutCallback is not defined yet

fix-#3157
webzwo0i 2017-04-01 18:07:10 +02:00
parent ed029b599e
commit 06046493bf
1 changed files with 1 additions and 1 deletions

View File

@ -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