|
|
@@ -1073,6 +1073,8 @@ class ExamPdfExportService
|
|
|
'--disable-background-mode',
|
|
|
'--disable-extensions-http-throttling',
|
|
|
'--disable-ipc-flooding-protection',
|
|
|
+ '--single-process', // 单进程模式,避免 dbus 问题
|
|
|
+ '--disable-features=Dbus', // 禁用 dbus
|
|
|
'--user-data-dir=' . $userDataDir,
|
|
|
'--print-to-pdf=' . $tmpPdf,
|
|
|
'--print-to-pdf-no-header',
|