emscripten-core / emscripten-core/emscripten

Question: Is there a way to write a file to local hard disk

Open
#22,740 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

I am running autotests with emrun and everything works fine.
On test errors I save screenshots to emscripten IndexedDB.
I know that it is not directly possible to write it as well on the local hard disk but I wonder if there are some workarounds.
I am thinking of "writing" the file to stdout and then rebuilding it from the log file. I guess that should make the trick but do you have other advices ?
Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.