File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/python/plotly/plotly/io Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1142,7 +1142,9 @@ def validate_executable():
11421142 # ### Run with Popen so we get access to stdout and stderr
11431143 with orca_env ():
11441144 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 ,
11461148 )
11471149
11481150 help_result , help_error = p .communicate ()
@@ -1212,7 +1214,7 @@ def validate_executable():
12121214 # ### Run with Popen so we get access to stdout and stderr
12131215 with orca_env ():
12141216 p = subprocess .Popen (
1215- executable_list + ["--version" ],
1217+ executable_list + ["--no-sandbox" , "-- version" ],
12161218 stdout = subprocess .PIPE ,
12171219 stderr = subprocess .PIPE ,
12181220 )
@@ -1406,6 +1408,7 @@ def ensure_server():
14061408
14071409 # Build orca command list
14081410 cmd_list = status ._props ["executable_list" ] + [
1411+ "--no-sandbox" ,
14091412 "serve" ,
14101413 "-p" ,
14111414 str (orca_state ["port" ]),
You can’t perform that action at this time.
0 commit comments