Skip to content

Remove execaCommand() #1055

@ehmicky

Description

@ehmicky

See #1016 and #1054

execaCommand() and execaCommandSync() have been deprecated in favor of parseCommandString(). Their documentation has been removed. However, their implementation and types have been kept for backward compatibility.

In the next major release, those methods should be completely removed.

As an internal cleanup task, we will also want to remove the file and commandArguments returned by the internal function mapArguments(), since this is only used by execaCommand().

const {
file = initialFile,
commandArguments = initialArguments,
options = mergedOptions,
isSync = false,
} = mapArguments({file: initialFile, commandArguments: initialArguments, options: mergedOptions});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions