# exec-commands **Repository Path**: linefeng77/exec-commands ## Basic Information - **Project Name**: exec-commands - **Description**: exec-commands - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-22 - **Last Updated**: 2024-05-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ```javascript import { execTaskAsync, execCommand } from 'exec-commands'; await execTaskAsync([{ command: "mkdir test-command", cwd: './', async: true, async callback(result) { // execution failure remove file if (!result) { execCommand({ command: ` rm - rf ./test-command`, cwd: './', }); } // This is the end of the command return false; }, }]) ```