X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=GnumericToExcel.php;h=cae40372bb5c48e2a25c625e80288fe3aa3c2e80;hp=5b6e47148eb2f5a2ce22e847107a84bfb4831527;hb=c1af5e6bb6064e88469651271f4d9aaff34d69c0;hpb=a2456e05971e2e1d8ed90cf2982efa7e71a27d44 diff --git a/GnumericToExcel.php b/GnumericToExcel.php index 5b6e4714..cae40372 100644 --- a/GnumericToExcel.php +++ b/GnumericToExcel.php @@ -74,8 +74,10 @@ class Pman_Core_GnumericToExcel extends Pman require_once 'System.php'; + $xvfb = System::which('xvfb-run'); + $ss = System::which('ssconvert'); - $cmd = $ss. + $cmd = $xvfb . " -a " . $ss. " --import-encoding=Gnumeric_XmlIO:sax" . " --export-type=Gnumeric_Excel:excel_biff8 " . $srcTmp . ' ' . $targetTmp . ' 2>&1';