Skip to content

[0.81] Replace execSync with spawnSync for tarball extraction paths that need to be escaped #1103

@kitten

Description

@kitten

Target Branch

0.81

Link to commit or PR to be picked

facebook/react-native@9731e8e

Description

This is a follow-up fix to facebook/react-native@9731e8e

Special characters in the path were passed to execSync which executes in a shell. Backslashes and spaces can lead to exceptions, which fails when building an RN app on iOS with prebuilts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Done / Picked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions