We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18d298b + 86f07de commit abd3a2eCopy full SHA for abd3a2e
1 file changed
src/Sign/JSignService.php
@@ -60,7 +60,7 @@ public function getVersion(JSignParam $params)
60
}
61
$this->throwIf(!file_exists($jSignPdf), 'Jar of JSignPDF not found on path: '. $jSignPdf);
62
63
- $command = "$java -jar $jSignPdf --version";
+ $command = "$java -jar $jSignPdf --version 2>&1";
64
\exec($command, $output);
65
if (empty($output) || strpos($output[0], 'version') === false) {
66
return '';
0 commit comments