if abiword immediately exists stdoutCallback is not defined yet

This commit is contained in:
webzwo0i 2017-04-01 18:07:10 +02:00
parent ed029b599e
commit 06046493bf

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