Skip to content

Commit d3fbf99

Browse files
authored
fix x2t librairie issue #195 (#334)
* fix x2t librairie issue #195 * fixup! fix x2t librairie issue #195
1 parent 7af5157 commit d3fbf99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Document/ConverterBinary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function run(string $param, string $password = null): string {
5151
$password = htmlspecialchars($password, ENT_XML1, 'UTF-8');
5252
$cmd .= ' ' . escapeshellarg("<TaskQueueDataConvert><m_sPassword>$password</m_sPassword></TaskQueueDataConvert>");
5353
}
54-
$process = proc_open($cmd, $descriptorSpec, $pipes, self::BINARY_DIRECTORY, []);
54+
$process = proc_open($cmd, $descriptorSpec, $pipes, self::BINARY_DIRECTORY, ["LD_LIBRARY_PATH" => "."]);
5555

5656
@fclose($pipes[0]);
5757
$output = @stream_get_contents($pipes[1]);

0 commit comments

Comments
 (0)