exec-ignore-errors

Run command ignoring errors.

Usage no npm install needed!

<script type="module">
  import execIgnoreErrors from 'https://cdn.skypack.dev/exec-ignore-errors';
</script>

README

exec-ignore-errors

Run a CLI command ignoring any errors. This package is useful when you run a command and cannot make sure it works correctly, but you don‘t want anything else to be interrupted.

license

Installation

npm i exec-ignore-errors

Example

Use this in the shell.

exec-ignore-errors node 1.js

Use this in the npm script.

{
  "scripts": {
    "start": "exec-ignore-errors node 1.js"
  }
}