export const runCommand = async (command, { in: cwd, ...options } = {}) => {
Runs a shell command with an optional working directory.
Target style API. Preferred for new code.
Helpers
Source: helpers/execAsync.mjs
Target Style
export const runCommand = async (command, { in: cwd, ...options } = {}) => {
Runs a shell command with an optional working directory.
Target style API. Preferred for new code.
export const readCommandOutput = async (command, options = {}) => {
Runs a shell command and returns only stdout.
Target style API. Preferred for new code.
Legacy Style