File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,16 @@ 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 in which to run the code` \
16- --mount ~ /foo/bar:/home/web_user/fubar ` # Mount path to virtual filesytem <HOST_MACHINE_PATH>:<TARGET_PATH>` \
17- --script main.py ` # Path of the script to run (in virtual filesystem)` \
18- --work-dir /home/web_user/fubar ` # Work directory in the virtual fileystem` \
19- --async-main ` # should a top-level async main function be called`
20-
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` \
18+ ` # <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` \
2125```
2226
2327
You can’t perform that action at this time.
0 commit comments