Skip to main content

2exec

A super simple and reliable shell execution library.

Features

  • &&, || and & support
  • | support
  • > support

Example usage

import { exec } from "https://deno.land/x/2exec/mod.ts";

const processes = await exec("ps -aux");

Options

// exec(command, options);
//               ^
const options = {
    //                  Default
    ignoreErrors:       false,
    log:                false
}