Closed NickNaso closed 7 years ago
Create the executeSync method that have the responsability to parse and execute the ghostscript command.
function executeSync(GhostscriptCommand) {}
It's necessary to implement the Javascript and C++ binding for the method.
Use Nan:ThrowError to dispatch errors.
Added function library to best redirect stdio when use Ghostscript https://github.com/NickNaso/ghostscript4js/blob/master/src/ghostscript.c
Mehtod executeSync implemented as specified.
Create the executeSync method that have the responsability to parse and execute the ghostscript command.
It's necessary to implement the Javascript and C++ binding for the method.
Use Nan:ThrowError to dispatch errors.