{"version":"1.0.5","anchor":"enhanced-command-execution-with-d2-function","canonical_anchor":"enhanced-command-execution-with-d2-function","heading":"\ud83c\udd95 Enhanced Command Execution with D2() Function","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.5\/e\/enhanced-command-execution-with-d2-function","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.5","markdown":"### \ud83c\udd95 Enhanced Command Execution with `D2()` Function\n\n- **New options parameter** with configurable defaults:\n\n`  {\n    timeout: 120000,           \/\/ 2 minutes default\n    preserveOutputOnError: true,\n    useCwd: true              \/\/ Use current working directory\n  }`\n\n- **Environment variable support**: Pass custom environment variables to executed commands\n- **Abort signal support**: Cancel long-running commands programmatically"}