Skip to content

Unify various exec calls #81

Closed
Closed
@chenglou

Description

@chenglou

I'll cc @cristianoc, @mewhhaha and @john-pangalos (sorry for the ping) on this one.

Currently in the codebase there are 3 ways to call a binary:

We should really revisit those and streamline them:

  • First one:
    • should be execFile, which avoids needing to escape the command path.
    • should also be sync.
    • should work on windows, if it isn't.
  • Second one:
    • should use execFile in the win32 branch too, to avoid needing to escape path. Can't use that for a batch script
  • Third one

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