Skip to content

Commit

Permalink
Rename cliOptions to childProcessOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbachmann committed Sep 27, 2017
1 parent f1f78a5 commit 52f2e2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -145,7 +145,7 @@ config = {
},

// To run Node application as Windows service
"cliOptions": {
"childProcessOptions": {
"detached": true
}

Expand Down
2 changes: 1 addition & 1 deletion lib/pdf.js
Expand Up @@ -84,7 +84,7 @@ PDF.prototype.toFile = function PdfToFile (filename, callback) {
}

PDF.prototype.exec = function PdfExec (callback) {
var child = childprocess.spawn(this.options.phantomPath, [].concat(this.options.phantomArgs, [this.script]), this.options.cliOptions)
var child = childprocess.spawn(this.options.phantomPath, [].concat(this.options.phantomArgs, [this.script]), this.options.childProcessOptions)
var stderr = []

var timeout = setTimeout(function execTimeout () {
Expand Down

0 comments on commit 52f2e2d

Please sign in to comment.