Skip to content

Commit

Permalink
fix x2t librairie issue #195 (#334)
Browse files Browse the repository at this point in the history
* fix x2t librairie issue #195

* fixup! fix x2t librairie issue #195
  • Loading branch information
chadek authored Sep 4, 2024
1 parent 7af5157 commit d3fbf99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Document/ConverterBinary.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function run(string $param, string $password = null): string {
$password = htmlspecialchars($password, ENT_XML1, 'UTF-8');
$cmd .= ' ' . escapeshellarg("<TaskQueueDataConvert><m_sPassword>$password</m_sPassword></TaskQueueDataConvert>");
}
$process = proc_open($cmd, $descriptorSpec, $pipes, self::BINARY_DIRECTORY, []);
$process = proc_open($cmd, $descriptorSpec, $pipes, self::BINARY_DIRECTORY, ["LD_LIBRARY_PATH" => "."]);

@fclose($pipes[0]);
$output = @stream_get_contents($pipes[1]);
Expand Down

0 comments on commit d3fbf99

Please sign in to comment.