Skip to content

Commit 9c5a6a0

Browse files
committed
Add os.execl Windows caveat to deployment section.
This section may be updated in the future to show how to maintain a subprocess.
1 parent f51dad7 commit 9c5a6a0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

hyperdiv_docs/pages/guide/deploying.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,20 @@ def launch_app():
7373
"""
7474
)
7575

76+
with hd.alert(opened=True):
77+
hd.markdown(
78+
"""
79+
80+
Note that on Windows, this strategy using `os.execl`
81+
may not work as expected. See
82+
https://bugs.python.org/issue9148. Instead, you may
83+
have to use
84+
[Popen](https://docs.python.org/3/library/subprocess.html)
85+
and maintain a subprocess.
86+
87+
"""
88+
)
89+
7690
p.heading("## Deploying on the web or local network")
7791

7892
hd.markdown(

0 commit comments

Comments
 (0)