Skip to content

emsdk_env.sh racy #9090

Closed
emscripten-core/emsdk
#307
@vargaz

Description

@vargaz

emsdk_env.sh calls emsdk construct_env which deletes the output file before creating the new one. If multiple copies of this script are ran in parallel in multiple shells, one copy could delete the file the other one is trying to source leading to errors like:
-bash: ./emsdk_set_env.sh: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions