Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3e34ad3

Browse files
committedMar 23, 2020
redirect Orca stderr to DEVNULL
1 parent ba24f92 commit 3e34ad3

File tree

1 file changed

+3
-1
lines changed
  • packages/python/plotly/plotly/io

1 file changed

+3
-1
lines changed
 

‎packages/python/plotly/plotly/io/_orca.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,9 @@ def ensure_server():
14321432
# specified port.
14331433
DEVNULL = open(os.devnull, "wb")
14341434
with orca_env():
1435-
orca_state["proc"] = subprocess.Popen(cmd_list, stdout=DEVNULL)
1435+
orca_state["proc"] = subprocess.Popen(
1436+
cmd_list, stdout=DEVNULL, stderr=DEVNULL
1437+
)
14361438

14371439
# Update orca.status so the user has an accurate view
14381440
# of the state of the orca server

0 commit comments

Comments
 (0)
Please sign in to comment.