Skip to content

Commit f5f7597

Browse files
committed
update README
1 parent 74ad547 commit f5f7597

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ Here we assume a file `main.py` located at `~/foo/bar/main.py`.
1212
```bash
1313
pyjs_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

0 commit comments

Comments
 (0)