When using an array as input for cat command (no handles), these problems occur:
no argument given for catCommand
pdftk.input([a, b]).cat()
throws error (split method called on undefined)
empty string as catCommand
pdftk.input([a, b]).cat('')
only first file "a" used, all others ignored.
pdftk.input([a, b]).cat(' ')
only first file "a" used, all others ignored.
When using an array as input for cat command (no handles), these problems occur: no argument given for catCommand
pdftk.input([a, b]).cat()
throws error (split method called on undefined)empty string as catCommand
pdftk.input([a, b]).cat('')
only first file "a" used, all others ignored.pdftk.input([a, b]).cat(' ')
only first file "a" used, all others ignored.pdftk.input([a, b]).cat([])
works as expected