We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad43939 commit 8f3f32bCopy full SHA for 8f3f32b
plotly_kaleido/src/lib.rs
@@ -185,8 +185,20 @@ impl Kaleido {
185
) -> Result<String, Box<dyn std::error::Error>> {
186
let p = self.cmd_path.to_str().unwrap();
187
188
+ #[cfg(target_os = "windows")]
189
+ let cmd_args = vec![
190
+ "plotly",
191
+ "--disable-gpu",
192
+ "--allow-file-access-from-files",
193
+ "--disable-breakpad",
194
+ "--disable-dev-shm-usage",
195
+ "--disable-software-rasterizer",
196
+ "--single-process",
197
+ "--no-sandbox",
198
+ ];
199
// Removed flag 'disable-gpu' as it causes issues on MacOS and other platforms
200
// see Kaleido issue #323
201
+ #[cfg(not(target_os = "windows"))]
202
let cmd_args = vec![
203
"plotly",
204
"--allow-file-access-from-files",
0 commit comments