File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed
Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,21 @@ Here we assume a file `main.py` located at `~/foo/bar/main.py`.
1212``` bash
1313pyjs_code_runner run script \
1414 node \
15- --conda-env ~ /micromamba/envs/my_env ` # the emscripten-forge env` \
16- ` # in which to run the code` \
17- --mount ~ /foo/bar:/home/web_user/fubar ` # Mount path to virtual filesytem` \
15+ --conda-env ~ /micromamba/envs/my_env ` # the emscripten-forge env` \
16+ ` # in which to run the code` \
17+ \
18+ --mount ~ /foo/bar:/home/web_user/fubar ` # Mount path to virtual filesytem` \
1819 ` # <HOST_MACHINE_PATH>:<TARGET_PATH>` \
19- --script main.py ` # Path of the script to run` \
20- ` # (in virtual filesystem)` \
21- --work-dir /home/web_user/fubar ` # Work directory ` \
22- ` # in the virtual fileystem` \
23- --async-main ` # should a top-level async` \
24- ` # function named main be called` \
20+ \
21+ --script main.py ` # Path of the script to run` \
22+ ` # (in virtual filesystem)` \
23+ \
24+ --work-dir /home/web_user/fubar ` # Work directory ` \
25+ ` # in the virtual fileystem` \
26+ \
27+ --async-main ` # should a top-level async` \
28+ ` # function named main be called` \
29+
2530```
2631
2732
You can’t perform that action at this time.
0 commit comments