File tree 2 files changed +6
-2
lines changed
packages/python/plotly/plotly 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1142,7 +1142,9 @@ def validate_executable():
1142
1142
# ### Run with Popen so we get access to stdout and stderr
1143
1143
with orca_env ():
1144
1144
p = subprocess .Popen (
1145
- executable_list + ["--help" ], stdout = subprocess .PIPE , stderr = subprocess .PIPE
1145
+ executable_list + ["--no-sandbox" , "--help" ],
1146
+ stdout = subprocess .PIPE ,
1147
+ stderr = subprocess .PIPE ,
1146
1148
)
1147
1149
1148
1150
help_result , help_error = p .communicate ()
@@ -1212,7 +1214,7 @@ def validate_executable():
1212
1214
# ### Run with Popen so we get access to stdout and stderr
1213
1215
with orca_env ():
1214
1216
p = subprocess .Popen (
1215
- executable_list + ["--version" ],
1217
+ executable_list + ["--no-sandbox" , "-- version" ],
1216
1218
stdout = subprocess .PIPE ,
1217
1219
stderr = subprocess .PIPE ,
1218
1220
)
@@ -1406,6 +1408,7 @@ def ensure_server():
1406
1408
1407
1409
# Build orca command list
1408
1410
cmd_list = status ._props ["executable_list" ] + [
1411
+ "--no-sandbox" ,
1409
1412
"serve" ,
1410
1413
"-p" ,
1411
1414
str (orca_state ["port" ]),
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ def test_external_server_url():
164
164
# Build external orca command
165
165
orca_path = which ("orca" )
166
166
cmd_list = [orca_path ] + [
167
+ "--no-sandbox" ,
167
168
"serve" ,
168
169
"-p" ,
169
170
str (port ),
You can’t perform that action at this time.
0 commit comments